Warning: Rank deficient, rank = 1, tol = 4.8961e-014. Could someone please help me fix this? My body message has code I used.

2 views (last 30 days)
[a,b] = meshgrid(-0.1:.2:1.6,-0.1:.2:2.5);
z=((2*(b.^2).*(1-a-b)/(1-(b.^2))).^0.5);

Accepted Answer

the cyclist
the cyclist on 24 Feb 2013
You neglected to include a "dot" for your element-wise division:
>> z=((2*(b.^2).*(1-a-b)./(1-(b.^2))).^0.5);

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!