getting Complex double in matlab while excel solves it
1 view (last 30 days)
Show older comments
Commented: Asliddin Komilov on 15 Jun 2019
I had this formula in excel few years ago with less variation of WL, but now want to have a bigger range and put it into matlab and it gives me Complex double and the curve is totally different from what I expect or that came out in excel, can anyone help me here
Stephen23 on 15 Jun 2019
Edited: Stephen23 on 15 Jun 2019
% ^^^^ ^ positive values (around 5)
%^^^ ^ negative values (around -4)
% ^^^^^^^^^ fractional power of negative values.
What do you expect a fractional power of negative values to give you?
ans = 14.884 + 18.473i
More Answers (0)
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!