Community Profile

Contact

Top 10% contributor

Thats easy - don't. Just truncate the matrix: A = A(:,1:2) e.g. extract all rows and columns 1-2.

1

Answered 2 years ago

I found a better way... try x=1:10; f=x.^2; g=x.^2+1; patch([x x(end:-1:1)], [f g(end:-1:1)],'y') This sets up x=1....

accepted

0

I have Matlab 2011b and when i do this: >> x = sym('x') x = x >> abs(x^(1/3)) ans = abs(x)^(1/3) the...

2 Answers

2

Asked 2 years ago

I assume it doesn't really crash with an error but it takes close to forever to output that many files...(?) I don't know a...

It is asin, not arcsin.

I am using symbolic math toolbox (Matlab2011b) to do some geometric computations to derive an expression for a geometric length....

3 Answers

It cannot give 6 elements since it calculates differences between successive elements and for 6 input values there are only diff...

Hi, i have some scatter data and i'd like to scatterplot it with user defined *axes limits* and *"equal axes"* . However, if ...

I dont know much about sliders, but can't you simply plot a surface plot of f(b,e)? Like [grid_e grid_b] = meshgrid(-.3...

There is a function called "memory". See the docs.

The grassfire transform would be easy to implement: <http://en.wikipedia.org/wiki/Grassfire_Transform> Be aware that this alg...

You can set your color range to manual to prevent auto-scaling: caxis manual after the first before the second surf. How...

You could use sth like area(g); hold on; area(f); and then select f's fill color to be the backgroud color. Of...