Community Profile

photo

MOHD UWAIS


Last seen: 12 Monate vor Aktiv seit 2020

Statistiken

  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


In this code, I want to find out slope at every value of x?
clear all clc x=[10.33 10.331 10.332 10.333 10.334 10.335 10.336 10.337 10.338 10.339 10.34 10.341 10.342 10.343 10.344 10.345...

etwa ein Jahr vor | 4 Antworten | 0

4

Antworten

Frage


At every value of x, how measure slope of plot?
clear all clc x=[15 20 25 30 35 40 45 50 55]; y=[11.89 11.845 11.85 11.855 11.865 11.93 12.01 12.2 12.77]; plot(x,y)

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


How can I interpolate x and y data points in plot and slope (dy/dx) at any value of x?
clear all clc x=[15 20 25 30 35 40 45 50 55]; y=[11.89 11.845 11.85 11.855 11.865 11.93 12.01 12.2 12.77]; plot(x,y)

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


In following plots, how can we measure intersect points?
clear all clc for y=0.1:0.1:0.3; G=[]; B=[]; for a=1:1:100 z=0.3; x=y+sind(a); G=[G x]; b=z+0.4; B=[B b]; end B; G;...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


how can we find the intersect points of these two plots?
for y=-3:1:5; G=[]; B=[]; for a=1:1:50 z=10; x=a+y; G=[G x]; b=z+30; ...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


Data fitting in between following variables x and b for quadratic equation
clear all clc a=[0.450 0.486 0.546 0.589 0.633 0.656]; b=[1.5435 1.536 1.5273 1.523 1.5197 1.5179]; x=1./a.^2;

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


what will be the multiplication of all c values in loop (in given example), i.e. c1*c2*c3*c4*c5?
a=[1 2 3 4 5]; b=[0 1 0 6 4]; for i=1:5 c=[1 2+a(i); 1*b(i) 5] end

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


In given example, how can I find multiplication of all c matrices (c1, c2, c3, c4, c5) in a 'for' loop?
a=[1 2 3 4 5]; c=[]; for i=1:5 b=[1 2; 6 5]*a(i); c=[c b] end

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Finding of value coordinate
For example, x=-50:1:50; y=4*x.^2+5; plot(x,y,'*-') How we can find x value corresponding to the minimum value of y.

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How plot to matrices in 3D
How I could plot following matrices in 3D. Here rows and columns of z matrix show to data, which are to plot with x and y. x=1:...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Three variables (two independent) 3D plotting
I want to plot B, L, and R mutually at the same time (using both 'for' loop). clear all clc R=[]; for B=-20:20; M=1; ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


3D or surface plot
Hi, Please look at my problem. I have a 'A' as dependent variable of two variables B and L. How I could plot in 3D or surface p...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How find FWHM for large numbers of plots?
Here simply if i want to write the matlab code to find the fwhm (up to 4 or 5 digits) of like following curve, i have to find x ...

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Interpolate among Datasets so one set matches the other
Thanks for your response. Actually my problem is to find the fwhm(s) of large number of curve like following. So i require the ...

mehr als 3 Jahre vor | 0

Frage


How can we store many matrices(z) from for loop in a single matrix D(say) in my problem.
x=[1 2 3]; y=1./x; for l=1:3; I=eye(3,3); z=y(l)*I; end

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort