12,697,311 members (28,384 online)
Rate this:
See more:
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 21:11pm

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

Rate this:

## Solution 1

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

Sorry, this is not an answer or "solution". Such posts are considered as abuse. Instead, you need to update your questions using "Improve question"; in other cases, you can use comments.
—SA

Top Experts
Last 24hrsThis month
 OriginalGriff 230 F-ES Sitecore 135 Asgard25 130 CPallini 105 Jochen Arndt 90
 OriginalGriff 3,721 Peter Leow 2,228 Mika Wendelius 1,753 ppolymorphe 1,647 Jochen Arndt 1,454