photo

jayash


National Institute of Technology

Attivo dal 2014

Followers: 0   Following: 0

Messaggio

Statistica

MATLAB Answers

8 Domande
0 Risposte

RANK
34.597
of 300.780

REPUTAZIONE
1

CONTRIBUTI
8 Domande
0 Risposte

ACCETTAZIONE DELLE RISPOSTE
62.5%

VOTI RICEVUTI
1

RANK
 of 21.086

REPUTAZIONE
N/A

VALUTAZIONE MEDIA
0.00

CONTRIBUTI
0 File

DOWNLOAD
0

ALL TIME DOWNLOAD
0

RANK

of 171.018

CONTRIBUTI
0 Problemi
0 Soluzioni

PUNTEGGIO
0

NUMERO DI BADGE
0

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Unable to plot after using fsolve
Ut=0; while Ut<20 cn = @(q1,q2,n0)((Ut.*n0)./(1-cos(2.*pi.*q1)-cos(2.*pi.*q2))); y = @(q1,q2,n0)0.25.*((1+cn...

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


Error using fzero " FUN must be a function, a valid string expression, or an inline function object"
I am getting errors while using fsolve or fzero in the following code: U = 1; while U < 20 eq = @(q) 2.*(1-co...

quasi 11 anni fa | 2 risposte | 1

2

risposte

Domanda


Error using quad "Error using quad (line 75) The integrand function must return an output vector of the same length as the input vector."
I have edited the code according to answers. Can anyone explain the reason behind the errors and help me correcting the follo...

quasi 11 anni fa | 3 risposte | 0

3

risposte

Domanda


Getting errors specifying an anonymous function, integrating and getting points from it.
I want solve the follwing equation and get the values of n0 for different values of U ie. U=1:1:20; <</matlabcentral/answers/...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


how to use multiple variable in fsolve and plot the corresponding result
I want to plot between 'n0' and 'U'. First I have to get 'n0' in terms of 'U' (for which I used fsolve) eq = @(q) 2*(1 ...

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


Unable to plot. Problem with this error "Conversion to double from function_handle is not possible."
function f=snm(~) eq11= @(q1)(2*(1 - cos(2*pi*q1))); hq1= @(q1,U,n0)((eq11)^2 + 2*U*n0*(eq11))^(1/2); ha1= @(q1,U,n0)...

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


Is there any way that I can optimise this code. It takes lot of time to run and for larger iteration like 'nc=10e6' its stops stating runtime error.
clear all %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%Simulation of transmission signal decay from a high Finesse Fabr...

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


I am getting this error- "Vectors must be the same lengths.". Also please explain why its showing this error as I am plotting a funtion with 'x' as variable with defined vector.
clear all rr=0.99997622; % reflectivity of the cavity r=sqrt(rr); finesse=pi.*sqrt(rr)./(1-rr); % fi...

oltre 11 anni fa | 1 risposta | 0

1

risposta