Home > Matlab Error > Matlab Error X Y Z And C Cannot Be Complex

Matlab Error X Y Z And C Cannot Be Complex

Consider accepting my answer :) This means that you no longer need any more help on this matter and we can move on to answering other questions. What is the 'dot space filename' command doing in bash? Math Medics, LLC. - P.O. Mathematics CyberBoardYour Resource for mathematics help on the web! weblink

Why won't a series converge if the limit of the sequence is 0? Mathematics Homepage Privacy Statement | Search the "old" CyberBoard users online during the last hour Powered by phpBB © 2001, 2005-2016 phpBB Group. Copyright © 1999-2016 MathMedics, LLC. Stay logged in Physics Forums - The Fusion of Science and Community Forums > Mathematics > Math Software and LaTeX > Menu Forums Featured Threads Recent Posts Unanswered Threads Videos Search https://www.mathworks.com/matlabcentral/answers/195896-error-using-surf-x-y-z-and-c-cannot-be-complex

View Answer Related Questions Comments Comment can't Submit. k=1; u = linspace(0,2*pi,72); v = [-3:.2:-1,1:.2:3]; [U,V] = meshgrid(u,v); r=sqrt((4*V.^-k)./(cos(U).^2+k*sin(U).^2)); X = r.*cos(U); Y = r.*sin(U); Z = V; This is the image I want to get: The full code r^2 doesn't even make sense –Nicu Stiurca Sep 3 '13 at 12:19 yeah ((rcos(phi)).^2+(rsin(phi)).^2)) is equal to r^2 –user2710108 Sep 3 '13 at 19:11 add a comment| Your Answer

Publishing a mathematical research article on research which is already done? They have to be numeric arrays (and of course those arrays cannot contain complex numbers). Play games and win prizes! up vote 1 down vote favorite I have a very simple set of data: A={1 4 7;2 5 8;3 6 9}; X={1 2 3}; Y={1;2;3}; surf(X,Y,A) will result in the following

Soft question: What exactly is a solver in optimization? UV lamp to disinfect raw sushi fish slices USB in computer screen not working Wardogs in Modern Combat Kio estas la diferenco inter scivola kaj scivolema? Login | Register Get Scrolling Plot In Linux (Using Command-Line Tools)? g.^((k-1)/k)-4*d.*t.^2.*k.*(k-1).*g.^((k-2)/k)).*(2*t.*d.*k.*...

Good luck! –rayryeng Apr 3 '15 at 8:53 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Recently added “Invalid column name” error on SQL statement from OpenQuery results Are taxonomy fields exposed to views? share|improve this answer answered Sep 2 '13 at 14:24 Luka Rahne 7,49811743 I'm not sure this is quite right since r and phi are a column and row vector Computer beats human champ in ancient Chinese game •Simplifying solar cells with a new mix of materials •Imaged 'jets' reveal cerium's post-shock inner strength Jan 15, 2012 #2 Pythagorean Gold Member

Share this thread via Reddit, Google+, Twitter, or Facebook Have something to add? see it here The friendliest, high quality science and math community on the planet! Using Google Chart Tools And Graph To Plot Data, Change The Labels? Not the answer you're looking for?

Play games and win prizes! have a peek at these guys What does the pill-shaped 'X' mean in electrical schematics? Triangles tiling on a hexagon Why does Luke ignore Yoda's advice? Name Required Email (User Name) Required Invalid email address.

Opportunities for recent engineering grads. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I don't want to switch back to same old version of matlab, thanks adnan jahan, Jan 15, 2012 Phys.org - latest science and technology news stories on Phys.org •Game over? check over here r is used in both X and Y and so when it's time to use surf on these inputs, you finally get that error.

Computer Science Math for Business and Economics Advanced Mathematics Foundations Algebra and Number Theory Analysis and Topology Applied Mathematics Other Topics in Advanced Mathematics Other It's likely that 7 just automatically takes the real part and doesn't tell you. click on the checkmark icon.

Were students "forced to recite 'Allah is the only God'" in Tennessee public schools?

However, if I try and do peer-to-peer synchronization as per the official Live Mesh instructions (and ts article), it simply will not work ... What is the difference (if any) between "not true" and "false"? Discover... Is it possible for NPC trainers to have a shiny Pokémon?

Browse other questions tagged matlab plot surf or ask your own question. What happens to hp damage taken when Enlarge Person wears off? Hot Network Questions Is a food chain without plants plausible? this content Error in ==> abc at 9 mesh(u) can any one help me out to get solve this issue??

Based on your location, we recommend that you select: . USB in computer screen not working Specific word to describe someone who is so good that isn't even considered in say a classification N(e(s(t))) a string Are non-English speakers better protected Name the Science Photo Intermediate Astrophotography Struggles with the Continuum – Part 7 Why Road Capacity Is Almost Independent of the Speed Limit Why Is Quantum Mechanics So Difficult? Error in ==> test at 4 mesh(X,Y,Z) Right now I have: x=-1:.1:1; y=-1:.1:1; [X,Y]=meshgrid(x,y); Z=sqrt(X.^2+Y.^2)^0.5; mesh(X,Y,Z) axis equal; Top Matt Post subject: Re: Sphere on Matlab?Posted: Sat, 10

Related Content Join the 15-year community celebration.