Info
此问题已关闭。 请重新打开它进行编辑或回答。
getting the error please help
1 次查看(过去 30 天)
显示 更早的评论
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));%%
0 个评论
回答(1 个)
Azzi Abdelmalek
2014-2-7
编辑:Azzi Abdelmalek
2014-2-7
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')
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!