Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Matlab
Hi dear's,
i want drow below function on matlab,
 
function s = test(x)
s = 0;
for j = 2:5
     s=s+x(j+1)* sin(pi*x(j))-(x(j)^2 * cos(pi*x(j-1)));
end
 

my function have 6 dimension,so i think matlab can't drow this function,
is it any way for draw this function???
thank's
Posted 14-Jan-13 20:11pm
Comments
Sergey Alexandrovich Kryukov at 15-Jan-13 2:44am
   
What do you think is the difference, between, say 4-dimensional and 6-dimensional? In all cases, you cut the space by fixing some coordinates but 1 (or 2), and draw the function in 2D or 3D. Then shift one of the parameters in other dimension, and draw again. Also, cut N-dimensional space in different directions and draw...
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

of course,you are right
but how we can drow it???
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 380
1 CPallini 375
2 BillWoodruff 314
3 George Jonsson 279
4 OriginalGriff 227
0 OriginalGriff 5,030
1 CPallini 4,225
2 Sergey Alexandrovich Kryukov 3,604
3 George Jonsson 2,831
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100