Community Profile

Contact

Top 5% contributor

My own suggestion might be to generate the 3D surface using g = surf(x), remove the edges using set(g,'EdgeColor','none'), and t...

1

Answered 3 years ago

Hi, I've got a loop which creates three matrices, and I want to store these for each iteration. Previously I've been saving t...

1 Answers

Asked 3 years ago

Hi I've got some code that preallocates some matrix L = zeros(50,50,50,50); and then iterates along the first two dimensions ...

2 Answers

0

Hi I want my x-axis to be tight to the data on a plotyy graph. I can't seem to do it without messing up the axes. My data ...

Asked 4 years ago

Say I have some region-of-interest filter X, and I use B = A(X~=0) to only extract the values of A where X~=0, is it then possib...

4 Answers

If the ellipse has a uniform value the integral becomes the product between that value and the length of each beam through the e...

Answered 4 years ago

Hi I've got two matrices, one 30x30x50 and one 30x30x80 I would like to multiply them in such a way that the result is a 5...

This may be possible without a loop but I don't have the knowledge, however you can loop over i: for i = 1:360; out(i,:...

accepted

Hello I have the same problem, I found a solution earlier today although I have not myself tested it. It can be found here: htt...

2202 views

Responded 5 years ago

Hi, I asked this before and accepted an answer before having some trouble implementing the code, so I think I need to ask again....

3 Answers

Hi, I've created a figure and annotated it using "text(x,y,'sample)" code, and I've got about 8 instances of it on my figure....

Hello I can't find any mention of the spectral norm in the documentation. I want to calculate max(|Ax|)/x for any vector x...

Hello I have a 128x128 matrix and I want to scale it down to 32x32. MATLAB's algorithm "imresize" seems to involve a smoothin...

I'm trying to compare different algorithms by imposing a time limit, however one of my algorithms calls fmincon and it seems imp...

Hi. Does anyone know why fmincon would ignore a 'Display','off' setting in the options? Here is my code: opt = optimset('Ma...

Hi I have a pixel grid (16,16) and I've generated a matrix A whose (i,j,k,l)th element specifies a property of the pairing of...

hello I'm trying to filter a circular image, the circle fits inside a square matrix, so for a 100x100 matrix the radius is 50...

I have a set of variables called "error1", "error2", etc. Each is a 4D matrix and I want to extract certain parts of them for...

I'm trying to write notes for my code and I want to know if there's a common notation which means what abs(A) does, ie. multiply...

Hi I'm trying to save a figure using 'print' but this process doesn't preserve the image/text proportions that are on my scre...

Hi I'm running a large code that is basically: for i = 1:50 load(i.mat, input); output = myfun(input); ...

Hi I tried to surf plot a discrete Laplacian matrix operator and it has broken MATLAB... I managed to close the figure, but t...

Hi I'm fitting using lsqcurvefit and the OUTPUT structure tells me there are 4 steps with 20 function evaluations before the ...

Hello I've been experimenting with a driver wiper program designed to remove sensitive data from a hard drive, eg. before it ...

ydata is 70x5 xdata is 70x1 plot(xdata, ydata) generates five lines with different colours how do I find what these colou...

I can't see any reason why, and if my PC crashes during a 20,000 loop iteration, it's a pain to figure out which iterations are ...

Hi, this may be a little vague I have a set of points in the unit circle and I want to quantify their separation, for example...

Hi I've got a square matrix and I'm using imshow and colorbar to plot it. The values are small, so colorbar naturally uses x1...

0 Answers

I don't know what LL1 or HH1 are but the 2D discrete Fourier transform should find you the frequency components of the image, in...

Hi I have five pairs of curves to plot on a 2d graph. This, I can just about manage- I use five colours and then distinguish ...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries