Answered

diff gives back one less valor

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

diff gives back one less valor

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

7 years ago | 0

Question

Howto clip a scatter plot to axes with limits

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

7 years ago | 2 answers | 0

Answered

Varying input variables in a GUI

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...

Varying input variables in a GUI

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...

8 years ago | 0

Answered

Read csv file and remove some strings

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

Read csv file and remove some strings

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

8 years ago | 1

Answered

how can i calculate or track the free space in the image buffer?

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

how can i calculate or track the free space in the image buffer?

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

8 years ago | 0

Answered

I have a basic level of image processing/matlab. I need to write an m file to complete skeletisation of a binary image of the word "skeleton" in white on a black background. It is to be done without using matlab functions for skeletising. thank you

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

I have a basic level of image processing/matlab. I need to write an m file to complete skeletisation of a binary image of the word "skeleton" in white on a black background. It is to be done without using matlab functions for skeletising. thank you

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

8 years ago | 0

Answered

How to color an area at plot surface...

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....

How to color an area at plot surface...

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....

8 years ago | 0

| accepted

Question

Symbolic expressions: abs(x^(1/3)) =?= abs(x)^(1/3)

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

8 years ago | 2 answers | 2

Answered

Multiple trisurf plots with different colours

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

Multiple trisurf plots with different colours

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

8 years ago | 0

Answered

Saving values in parfor loops

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...

Saving values in parfor loops

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...

8 years ago | 0

| accepted

Answered

How to color an area at plot surface...

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

How to color an area at plot surface...

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

8 years ago | 0

Answered

why do i get an error while using arcsin(x) function?

It is asin, not arcsin.

why do i get an error while using arcsin(x) function?

It is asin, not arcsin.

8 years ago | 4

| accepted

Question

How to tell Matlab to give real cube roots instead of complex ones?

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

8 years ago | 5 answers | 1