Answered
How can I output only part of a array?
FileName = ['114_1688','.jpg'] ; saveas(gcf,FileName)

15 dagen ago | 0

Answered
how to give value stress from excel give color in my mesh
You can coonsider using this package: https://in.mathworks.com/matlabcentral/fileexchange/32719-postprocessing-in-fem

15 dagen ago | 0

| accepted

Answered
How to generate series by percentage difference using loop?
A = zeros([],1) ; A(1) = 60 ; dA = 1 ; i = 1 ; while dA > 0.01 i = i+1 ; A(i) = A(i-1)*0.99 ; dA = abs(A(...

15 dagen ago | 0

| accepted

Answered
How to make the following code valid for tables not only matrices
Convert the Table into array using table2array. You can extract any column from table T using T.(1), T.(2) etc....

15 dagen ago | 0

Answered
Can anyone please help me ? I am not able to find the a value y from x
Did you initialize AZ_L? If not initialize it as AZ_L = zeros(3,1) ;

15 dagen ago | 0

| accepted

Answered
My code is about finding head value using bisection or false error method .But its showing parse error for xl=input("the lower value");i don't know how to solve it...
You have to either copy the function below the main code or copy the function into a different mfile and then run the main code....

15 dagen ago | 1

Answered
Plot last point of column
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1040940/zch4.txt') ; A = table2array(T) ; [r,c] =...

15 dagen ago | 0

Answered
Dot Product of Rows in array
iwant = sum(A.*B,2) ;

16 dagen ago | 0

Answered
Unable to perform assignment because the size of the left side is 111-by-1 and the size of the right side is 112-by-1.
The error is siimple, you are trying to save more number of elements than the array is initialized for. A = zeros(2,3) ; % ...

16 dagen ago | 1

| accepted

Answered
3D plotting of given parametric equations
m = 50 ; n = 50 ; p = 5 ; u = linspace(0,pi,m) ; v = linspace(0,2*pi,n) ; r = linspace(25,75,p) ; [U,V,R] = meshgrid(u,v,r...

16 dagen ago | 0

| accepted

Answered
reading in excel data with a specific heading
REad about readtable

17 dagen ago | 0

Answered
how to count how many time rows of an matrix apear in other matrix
Read about ismember A = [1 1 3; 1 2 7; 1 3 5]; B = [1 1 3; 2 1 4; 1 3 5; 2 4 5]; [c,ia] = ismemb...

17 dagen ago | 0

| accepted

Answered
Numerical problem in MATLAB (data precision)
Read about format format long But this is not an issue, don't worry.

17 dagen ago | 0

| accepted

Answered
errors with quiver!
spacing = 0.2; [X,Y] = meshgrid(-2:spacing:2); Z = X.*exp(-X.^2 - Y.^2); [DX,DY] = gradient(Z); quiver(X,Y,DX,DY) hold on ...

18 dagen ago | 0

Answered
Unable to plot inequality region
r = -5:0.01:5; [ki, kd] = meshgrid(r); cond = -9*ki>0 & 10*ki - 10*kd + 10>0 & 360*kd - 24*ki + 1320>0; % My 3 inequality c...

19 dagen ago | 1

| accepted

Answered
Loading a .csv file that contains units
Read about readtable

20 dagen ago | 0

Answered
calculate intensity of a part of images
imgs = dir('*.jpg') ; % give the image extension N = length(imgs) ; % Number of images iwant = cell(N,1) ; % save th...

20 dagen ago | 0

Answered
I want to get the values of a,b,c,d when T =1 as an example
a= 24:1:26; b= 24:1:26; c=24:1:26; d=24:1:26; [a,b,c,d] = ndgrid(a,b,c,d) ; a = a(:) ; b = b(:) ; c = c(:) ; d = d(:) ...

21 dagen ago | 0

| accepted

Answered
Compares characters within strings
letter1 = input("Please enter a string: ",'s'); letter2 = input("Please enter a string: ",'s'); count = 0 ; for i = 1:3 ...

21 dagen ago | 0

Answered
How to plot multiple 3D matrices
Read about slice

21 dagen ago | 0

| accepted

Answered
How to determine the start time and the end time of the signal
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/1033920/signal.csv') ; t = T.(1) ; x = T.(2) ; i...

21 dagen ago | 0

Answered
Unable to perform assignment because the size of the left side is 625-by-1 and the size of the right side is 1875-by-1
Better save them into an cell array. circle_folder = 'C:\Users\MyPC\Documents\CR\start\circle'; name_circle = dir(fullfile(c...

22 dagen ago | 1

Answered
Expected Shortfall for asset returns
[rownum, columnum] = size(Ret); store = zeros(1,columnum) CVaR = cell(columnum,1) ; for i = 1:columnum ind(i) = find(Re...

22 dagen ago | 0

Answered
Query regarding Quiver plot
Get the components first and then use quiver. u = amplitude.*cos(direction) ; % be cautious of units of direction/ angle v ...

22 dagen ago | 0

Answered
legend id not showing my data
Try this: figure() hold on title ('HRF time series of a voxel with strong correlation from slice number #', num2s...

22 dagen ago | 0

Answered
Meshing a surface in space into triangles
You may explore this option: https://www.gibboncode.org/html/HELP_tri3_tri6.html

22 dagen ago | 0

| accepted

Answered
Find curve intersection points in lat lon between rivers and satellite traces on a map
Try this: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections

22 dagen ago | 0

| accepted

Answered
Sign minus, not hyphen
str = 'UTF−16:2212' ; figure title(str)

22 dagen ago | 0

Load more