Question


Using NaN in if and interp1 commands
Hi everbody, I have 6 values and some values are NaN. If interp1 command finds the final value as NaN for giving ' *c*' value, ...

7 years ago | 1 answer | 0

1

answer

Question


Why MATLAB gives me this warning?
*Check function or try again with a different starting value. Exiting fzero: aborting search for an interval containing a sign ...

7 years ago | 2 answers | 0

2

answers

Question


Where is my mistake on cumulative sum of 4 matrices?
Hi everbody, I have 4 matrices and to find cumulative sum of them, i use this code: %aa includes 4 matrices (4 line, 101 c...

7 years ago | 2 answers | 0

2

answers

Question


Function value at starting guess must be finite and real.
Hi everybody. I created a code as under the this text. hiz(1)=18.54; ra=36:1:71 for g=2:1:numel(ra)+1 ...

7 years ago | 1 answer | 0

1

answer

Question


How can i solve this equation with for loop?
y=[1 4 5 6 8] for g=1:1:numel(y) W1(g)=15*y(g) W2(g)=@(x) x.^2+y(g) f(g) = @(x) W1(g)+W2(x)+y(g)...

7 years ago | 1 answer | 0

1

answer

Question


Replace values in matrix
Hi everybody I have a matrix, for ex: A=[2 5 7 12 9 4] and another matrix B=[1 4] ı want to replace elements apart from 1. a...

7 years ago | 1 answer | 0

1

answer

Question


Solving an equation on MATLAB
Hi everybody. I have an equation like this: _(5+x)^2/15+(x-4)^2/10=100_ Can MATLAB solve this equation directly? If it can...

8 years ago | 1 answer | 0

1

answer

Question


Finding location of change of signs of a matrix's elements
Hi everbody, I have a matrix like this: A=[0 0 0 0.33 0.33 0.33 0 0 0 -0.33 -0.33 -0.33 0 0 0]; How can i find location...

8 years ago | 1 answer | 0

1

answer

Question


Faulty result on contour map
I have just created a contour map, but some values are false. I don't know where is my error? May you help me? My dataset at th...

8 years ago | 1 answer | 0

1

answer

Question


How can i create a contour map with using this table?
Hi everbody I should make a contour map including rpm (x axis), kW (y axis) and values (contours) with using this table. There ...

8 years ago | 1 answer | 0

1

answer

Question


How can i plot contour plot with using three matrices?
Hi everbody, I have 3 matrices and their dimensions are same. I should plot a contour map like at the picture which is at the...

8 years ago | 1 answer | 0

1

answer

Question


Is there any way to solve this curve fitting problem?
Hi everbody, To connect the dots on graph, i use curve fitting tool and it gets me successful values. But there is a problem ...

8 years ago | 1 answer | 0

1

answer

Question


Connecting points with lines
Hi everbody How can i draw a line between the points at the image? I can use curve fitting toolbox, but i should use a code. ...

8 years ago | 1 answer | 0

1

answer

Question


How can i connect dots with linear regression?
Hi everbody I have a matrix consisting 511 data points and i should connect some points with linear regression, for ex: from ...

8 years ago | 1 answer | 0

1

answer

Question


Create a linear graph with using some values
Hi everybody I have a matrix, for ex a=[10 11 15 22 9 14] I want to create a linear graph using a's 2. and 5. values. Namely...

8 years ago | 1 answer | 0

1

answer

Question


Where is my mistake in loop?
If the gap until more than 0.05 between first and t. value, there must be created a linear change between first and t. value. I ...

8 years ago | 2 answers | 0

2

answers

Question


How can i write a code like this?
Hi everbody, I want to draw a linear change between two datas which have a difference as %5. For ex: Datas: -0,012 -0,...

8 years ago | 1 answer | 0

1

answer

Question


How can i find which value of a cell equals to 1?
Hi everbody, I have a cell array includes [] and 1 elements and i want to find which cell equals to 1. (For ex. 220. cell e...

8 years ago | 1 answer | 0

1

answer

Question


How can i find peak points?
I have a lot of datas and i should find the peak points. Which command or code is useful for me?

8 years ago | 2 answers | 0

2

answers

Question


Can MATLAB create a linear graph from polynomial graph?
Hi everybody, I have an elevation-distance graph on MATLAB and its type is polynominal and i must change the graph style from...

8 years ago | 1 answer | 0

1

answer

Question


How can i draw this type of graph?
<<https://upload.wikimedia.org/wikipedia/commons/c/c5/Euronorms_Diesel.png>> Hi everybody. What is the trick of this type of ...

8 years ago | 1 answer | 0

1

answer

Question


use matrix with while loop
n_motor=[150 200 250 300 ...] etc and vites_TASIT_1=[0 0 0 0 6 6 6 ...] etc. n_motor calculated by vites_TASIT_1. for i=...

9 years ago | 1 answer | 0

1

answer

Question


Finding of Previous Values From Derivatives
Hi everybody. I have derivative values of any data which calculated by mathematical equations and i want to find the previous va...

9 years ago | 1 answer | 0

1

answer

Question


How can i plot circle markers in plotty command?
figure [h1 h2] = plotyy(n_motor_yeni,abs(Ne_yeni),tum_veriler_tamyukdevirvolkan,tum_veriler_tamyukgucvolkan) set(h1,'Mar...

9 years ago | 1 answer | 0

1

answer

Question


Get Values Of Cell Array
Hi everbody. <</matlabcentral/answers/uploaded_files/41449/Ads%C4%B1z2.png>> i want to get the [6,355,1269] matrix etc on ...

9 years ago | 1 answer | 0

1

answer

Answered
Alternative Methods for Interpolation or Solutions of Interpolation Errors
Thanks *Walter Roberson* for your answer. For ex. my X values = [8.79 9.42 10.05 ...], these values are increasing but throug...

9 years ago | 0

Question


Alternative Methods for Interpolation or Solutions of Interpolation Errors
Hi everbody. Sometimes i give an error when making interpolation process for ex. "The values of X should be distinct error". ...

9 years ago | 2 answers | 0

2

answers

Question


Finding Of Same Values in Matrix
Hi everbody I have a matrix includes 1724 values, i want to find which elements are same in this matrix (For ex. 25. and 426....

9 years ago | 2 answers | 0

2

answers

Question


The values of X should be distinct error.
Hi everbody. ttx=1; for ggx=1:1:numel(zaman); n_motor_tamyuk_cevrimsirali(1,ggx)=interp1(tum_veriler_ta...

9 years ago | 1 answer | 0

1

answer

Question


Making Process Again With New Values
Hi everbody. I have fuel-economy codes and the end of the program, new transmission ratios calculated. I have to calculate n...

9 years ago | 1 answer | 0

1

answer

Load more