Info

This question is closed. Reopen it to edit or answer.

How do i fix the dimensions

5 views (last 30 days)
Nismeta
Nismeta on 23 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
my graph (code2) is supposed to look like the other graph on the 3d profiles. but my dimensions are all messed up i believe. how do i fix them
  1 Comment
Nismeta
Nismeta on 23 Jul 2014
if true
% code
end
[x,y]=meshgrid(linspace(-5,5,200));
a = (10449400.*x.^8.*y.^2 + x.^6).^1/2;
b = 129.302.*a;
c = (b - 417975.*x.^4.*y);
d = (.0391078.*x.^2)./(c).^1/3;
e = (10449400.*x.^8.*y.^2).^1/2;
f = 129.302.*e;
g = (e - 417.975.*x.^4.*y).^1/3;
h = .00152942.*g;
i = d - h;
z = 5.*i;
surf(x,y,z);shading interp

Answers (0)

Community Treasure Hunt

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

Start Hunting!