Feeds
질문
Generate random numbers with custom PDF
Hi, as it may become clear I'm fairly weak on probability distributions I want to generate a set of random numbers between 0 ...
12년 초과 전 | 답변 수: 4 | 2
4
답변질문
imshow / pcolor ... inconsistent plotting
Hi Just asking to confirm something as I have never noticed this before and it's confusing me a bit. I'll use a simple exampl...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
imshow - plotting a circular image, how to make corners white?
Hi I have a circular image but it's stored as a grayscale matrix, ie. square. When I use "imshow" with the jet colormap it au...
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
how to preallocate large logical array
Hi I'm trying to pre-allocate a huge logical matrix but I can't work out how to do it without creating a normal matrix then c...
12년 초과 전 | 답변 수: 3 | 3
3
답변질문
Parfor error?
------------------------------------------------------------------------ Segmentation violation detected at Mon...
거의 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
how to label lines on a graph
The general method would be using the legend function, to which you give a vector of the plot object handles and a series of cor...
how to label lines on a graph
The general method would be using the legend function, to which you give a vector of the plot object handles and a series of cor...
거의 13년 전 | 6
질문
Problem with surf / pcolor / image
Hi I have a matrix and I want a pcolor-style plot where each square (and therefore its colour) corresponds to an element. Cur...
거의 13년 전 | 답변 수: 2 | 0
2
답변답변 있음
having one "for" loop instead of two
From the comments I think you want the surface c = a + b Just use a nested loop c = zeros(11); for a = 0:10 fo...
having one "for" loop instead of two
From the comments I think you want the surface c = a + b Just use a nested loop c = zeros(11); for a = 0:10 fo...
거의 13년 전 | 0
답변 있음
converting a group of .fig files into .pdf
Are the files named according to some nice rule? eg. 1.fig, 2.fig, ... maybe you can write a script based on openfig / print (th...
converting a group of .fig files into .pdf
Are the files named according to some nice rule? eg. 1.fig, 2.fig, ... maybe you can write a script based on openfig / print (th...
거의 13년 전 | 0
| 수락됨
답변 있음
Linear Regression - more weight on specific Bins of data
lsqnonlin may be a good place to start, rather than giving it your model function and a starting point (eg. lsqcurvefit), you gi...
Linear Regression - more weight on specific Bins of data
lsqnonlin may be a good place to start, rather than giving it your model function and a starting point (eg. lsqcurvefit), you gi...
거의 13년 전 | 0
답변 있음
pcolor command
try pcolor(imrotate(A,90)) This should move the top left corner to the bottom left.
pcolor command
try pcolor(imrotate(A,90)) This should move the top left corner to the bottom left.
거의 13년 전 | 0
답변 있음
Optimization gives only small changes in each step, Why and how to solve it?
Which MATLAB function are you using? Certain ones allow you to input parameters that relate to how far you anticipate the minimu...
Optimization gives only small changes in each step, Why and how to solve it?
Which MATLAB function are you using? Certain ones allow you to input parameters that relate to how far you anticipate the minimu...
거의 13년 전 | 0
질문
parfor - how do I "slice" a variable? Can I?
I have a parfor loop that takes one row of a matrix and uses it for calculations. I therefore am getting errors since I am ca...
거의 13년 전 | 답변 수: 1 | 0
1
답변답변 있음
How to fully use the CPU of my PC?
100% CPU load is not a test that your code is optimised! It is just a sign that the hardware bottleneck may be in your processor...
How to fully use the CPU of my PC?
100% CPU load is not a test that your code is optimised! It is just a sign that the hardware bottleneck may be in your processor...
거의 13년 전 | 1
질문
one line takes ages, but is it possible to optimise any more?
Need a little help, I'm running this code a lot and small differences lead to big time savings. I have a large matrix (512x512)...
대략 13년 전 | 답변 수: 3 | 0
3
답변질문
Looping a function m-file, figures not closing
Hi, I'm running a script which repeatedly calls a function I wrote (using a for loop). In this function there is a command to...
대략 13년 전 | 답변 수: 3 | 0
3
답변답변 있음
Importing .xyz Data Files
I think the first line of your text file should be in the same format as the data; in your example the first row is a single zer...
Importing .xyz Data Files
I think the first line of your text file should be in the same format as the data; in your example the first row is a single zer...
대략 13년 전 | 1
| 수락됨
답변 있음
non linear regression of a 3D line
You need a model to fit to the data, if you can come up with one (for example, f(x,y,z; param1, param2 ...) = 0), and have a sui...
non linear regression of a 3D line
You need a model to fit to the data, if you can come up with one (for example, f(x,y,z; param1, param2 ...) = 0), and have a sui...
대략 13년 전 | 0