photo

Swathi S


Last seen: mehr als 4 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

MATLAB Answers

17 Fragen
0 Antworten

RANG
28.937
of 300.365

REPUTATION
1

BEITRÄGE
17 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
41.18%

ERHALTENE STIMMEN
0

RANG
 of 20.933

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 168.262

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Highlights

DURCHSCHNITTLICHE ANZAHL DER LIKES

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to plot XScale in log in boxplot? I used set(gca,'XScale','log') but the scale width are unequal. Kindly help.
I want the xscale to appear as below from 10^-1 to 10^1 with equal spacing but unable to achieve it with the following code. ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Kindly guide on how to connect the median points of boxplot with line and how to obtain respective colors of boxplot in the legend. Please help. Added the pot for reference.
CODE: A1 = [36 38 39]'; B1 = [1 5 10]'; C1 = [-17 -11 -2]'; group = [ ones(size(A1)); 2 * ones(size(B1)); ...

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error using + Matrix dimensions must agree. I want to find the value of Mt. Kindly help me clear the error.
CODE: a=0.1 s=0.01 N=5 wd=0.002906 d=5 for a1=a-((N-1)*(wd+s)):(wd+s):a for b1=a-((N-1)*(wd+s)):(wd+s):a r1=@(x...

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Bessel function based equation returns NaN as output. Kindly check where I went wrong.
I have attached the equation in image format and given the code below. Kindly help me find in which function i did mistake- bess...

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


I am getting this error "Index in position 1 is invalid. Array indices must be positive integers or logical values." Kindly help me clear this.
CODE: Mt=0 m=0 for d=0.1:0.1:10.1 m=m+1 for i=a-2*(N-1)*wd-2*(N-1)*s:2*(wd+s):a-2*(N-N)*wd-2*(N-N)*s for j=a-2*(...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Integrand output size does not match the input size. Kindly help me clear the error.
CODE: %all variables are declared for ai=a-2*(N-1)*wd-2*(N-1)*s:2*(wd+s):a-2*(N-N)*wd-2*(N-N)*s for aj=a-2*(N-1)*wd-2*(N-1)*s...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


XMIN must be a floating point scalar. Kindly help me in clearing the error.
CODE: %all variables are declared Mt1=0 for ai=a-2*(N-1)*wd-2*(N-1)*s:2*(wd+s):a-2*(N-N)*wd-2*(N-N)*s for aj=a-2*(N-1)*wd-2*...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


XMAX must be a floating point scalar in double integral. Kindly help.
CODE: x=0 y=0 u0=4*pi*(10^-7); f=5*10^6; w=2*pi*f; u=4*pi*(10^-7); U=2; a=0.5 N=5 for d=0.1:0.1:1 s=0.001 N...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Z must be a matrix, not a scalar or vector error while using surf function.
'Mtotal' should be calculated for 'a' and 'wd' each with 5values. Means 'Mtotal' should be a 5X5 matrix. But the loops comes to ...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Undefined operator '*' for input arguments of type 'function_handle' error in Integral2. Kindly help me clear this error.
CODE: for d=0.1:0.1:1 A=0 r1=@(ai,aj) sqrt((x+ai).^2+(y+aj).^2+z.^2) r2=@(ai,aj) sqrt((ai-x).^2+(y+aj).^2+z...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Error "Integrand output size does not match the input size." in implementing double integration. Kindly guide me in eliminating the error.
CODE: a=0.15 d=sqrt(a.^2+a.^2) M=@(a1,a2)(((((-(sqrt(a1.^2+a2.^2+d)).*a1)-((sqrt(a1.^2+a2.^2+d)).*a2)-(a1.^2)-(a2.^2)).*((sqr...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


ERROR: Undefined function 'sum' for input arguments of type 'cell'. Kindly help me resolve the error.
ERROR: Undefined function 'sum' for input arguments of type 'cell'. Error in PSCCandPSSCoptiWdVss (line 45) p=sum(arrayfun(@(...

mehr als 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Error executing triple intergration equation. I am getting 'Not a Number (NaN)' as output for the triple integration equation attached below (Image file). I have mentioned the code used also. Kindly help me in knowing where I am wrong.
CODE: syms x syms y syms phi N=10; u=4*pi*(10^-7) a=0.045; b=0.05; fun=@(x,y,phi) (cos(phi).*(x.*y))./(sqrt((x.^2)+(y.^2...

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to write code for double integration over closed surface D? I have attached the equation. Kindly help.
Please state the matlab function or code for this equation.

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


There is a error in my code. I have attached the equaion and my code. Kindly correct the part where i went wrong.
CODE: r1=sqrt((x+a1).^2+(y+a2).^2+(z.^2)) %a1,a2,x,y and z are defined r2=sqrt((a1-x).^2+(y+a2).^2+(z.^2)) r3=sqrt((a1-x...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Kindly check if my code for the attached equation is correct as the result obtained is incorrect. If I find that the code is correct, I'll recheck the values I defined.
The equation is attached below. CODE: syms x fun=(besselj(x,sqrt(a/b)).*besselj(x,sqrt(b/a)).*besselj(x,(gamma/sqrt(a*b)))...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


I am getting error in integrating a function from 0 to infinity wrt x. Kindly help.
CODE: fun=@(x) (p*q*r*exp(-x*d/sqrt(a*b))); rx=integral(fun,0,Inf) Msq=pi*u*sqrt(a*b)*rx % where variables p, q, r, d, a and...

fast 7 Jahre vor | 2 Antworten | 0

2

Antworten