getting the error please help
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
b4=0.1:0.001:1;
B=(20.*abs(b4))/3;
F1=(6/abs(b4)).*(sqrt(10^(-2)+B)+10^(-1));
F2=(6/abs(b4)).*(sqrt(10^(-4)+B)+10^(-2));
figure
plot(b4,F1,b4,F2)
xlabel('phase mismatch')
ylabel('GAIN FWM')
%%% ??? Error using ==> mldivide Matrix dimensions must agree.
Error in ==> UntitledFWM at 12 F1=(6/abs(b4)).*(sqrt(10^(-2)+B)+10^(-1));%%
Réponses (1)
Azzi Abdelmalek
le 7 Fév 2014
Modifié(e) : Azzi Abdelmalek
le 7 Fév 2014
Don't forget to use ./ instead of /
b4=0.1:0.001:1;
B=(20.*abs(b4))/3;
F1=(6./abs(b4)).*(sqrt(10^(-2)+B)+10^(-1));
F2=(6./abs(b4)).*(sqrt(10^(-4)+B)+10^(-2));
figure
plot(b4,F1,b4,F2)
xlabel('phase mismatch')
ylabel('GAIN FWM')
2 commentaires
abed
le 7 Fév 2014
Azzi Abdelmalek
le 7 Fév 2014
for the same reason you wrote .* instead of *
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!