Réponse apportée
3-Dimensional Shortest Path
You are in luck. I have just released a code that does the very exact thing you want to the FileExchange. If you really need to ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Read different file in certain category
Grab a list of all the folders in a given month using something like: files = dir('198001*'); Check MATLAB Regex for mor...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Fitting probability distributions to the data (allfitdist)
It is probably a result of changes in default behavior across MATLAB versions. You are getting that, because the log likelihood ...

presque 10 ans il y a | 2

| A accepté

A soumis


plywrite
Export data to ply format.

environ 10 ans il y a | 4 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
Save image from function with imwrite in other function
You need to write something along the lines of: imsave(handles.axes4); Under a pushbutton object.

plus de 10 ans il y a | 0

Réponse apportée
How do I delete repetitions of rows in a matrix?
C = unique(A,'rows')

plus de 10 ans il y a | 0

| A accepté

Réponse apportée
How to evaluate mean for column
Below does the example you listed, change the value 1 to do the others. mean(A(B==1))

plus de 10 ans il y a | 0

Réponse apportée
what's wrong here? I have copied this code from my textbook and it's not working
Your problem is here: insearch (@x sin(10*x)+cos(3*x),min,max,ans) It is NOT: @x sin(10*x)+cos(3*x) It is: @(x...

presque 11 ans il y a | 0

Réponse apportée
How can I improve my code by using logical indexing instead of "find" function.
There are many many ways to improve that code, but the specific error you are talking about refers to: estErr(i,find(SS==sig...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Histogram with counting number of "1" per bin
A trick for that would be to covert that data into this: B=[120, 130, 145, 160, 95, 105, 110, 150]; basically keeping the...

presque 11 ans il y a | 0

Réponse apportée
how to cut part of an image ?
This might not be the most robust way to do it, but create a mask matrix with that red boundary as 1s and everywhere else 0. The...

presque 11 ans il y a | 0

Réponse apportée
Matlab Surface: Assign different color for specific portions of the graph.
How about: x = [0:50]; y = [0:50]; Test1 = @(x,y) x.^2+y.^2; [X1,Y1] = meshgrid(x,y); Z1 = Test1(X1,Y1); s1 ...

presque 11 ans il y a | 1

Réponse apportée
How to solve error A and B must be floating point scalar?
You are using the wrong integral function. Symbolic integrals are calculated using 'int' instead. So keep your h as an expressio...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
Fourier Series plotting in matlab
Is this what you are looking for? There are better ways to do it, but for now focus on learning how the figure, plot and hold co...

presque 11 ans il y a | 1

Réponse apportée
basic plotting need help
This might not be your only problem, but if o0 is a row vector as you wrote there, you have: w*w*wo*wo as a term, where w...

presque 11 ans il y a | 0

Réponse apportée
CSV file read and disassemble information
You cannot use dlmread or csvread for mixed format files. To my best knowledge your best chance is a table: T = readtable('f...

presque 11 ans il y a | 0

Réponse apportée
How can I identify and remove noises from this image?
The black stain on the right needs fabrication of information to get rid of completely, it looks damaged beyond simple recovery....

presque 11 ans il y a | 0

| A accepté

Réponse apportée
how make x and y -axis labels(titles) for histogram of an image?
This sometimes happens to me too. The problem is xlabel sometimes get stuck BEHIND the imhist colorbar at the bottom. To fix it ...

presque 11 ans il y a | 1

Réponse apportée
Detecting Bubbles Using Image Segmentation
Here is what worked for me for the above image: 1) Crop the scale bar. 2) Remove the shadow gradient. 3) Simple thresho...

presque 11 ans il y a | 1

Réponse apportée
Difference between a<t<b and t>a && t<b
might be because you are supposed to write: *t(i)>=0 && t(i)<pi* NOT: *0>=t(i) && t(i)<pi*

presque 11 ans il y a | 1

Réponse apportée
How to curve fit 4D data?
If your curves will be polynomials, try my FEX function MultiPolyRegress. It also provides a fairly rich set of goodness of fit ...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
Scaling problem from Fourier continuous transformate via IFFT
Just a quick thought without inspecting the code, so this might not be the case, or the only problem: Check if the signal from t...

presque 11 ans il y a | 0

Réponse apportée
How can I use pcolor for rings ?
I am not sure what the question here is. If all you need to check is whether there is a correlation between mean depth and radiu...

presque 11 ans il y a | 0

Réponse apportée
How do I get the program to display the most and least Freq used words? Tells me the # times used but I dont know how to get it to display the words. PLease Help!
add to the end: v{counts==most_frequent} v{counts==least_frequent}

presque 11 ans il y a | 0

Réponse apportée
add colorbar to clustergram from within script
Nevermind colorbar doesn't work, check below for a work around that worked for me: http://www.mathworks.com/matlabcentral/ans...

presque 11 ans il y a | 0

Réponse apportée
make clustergram without printing
Try starting MATLAB with: matlab -noFigureWindows

presque 11 ans il y a | 2

Réponse apportée
What does the following error mean? Undefined function 'diffjac' for input arguments of type 'function_handle'. Error in Heq_Nwt (line 23) df = diffjac(x1,f,f0)
diffjac.m and dirder.m works perfectly fine for me. Your inputs must be different than intended.

presque 11 ans il y a | 0

Réponse apportée
How can I create a matrix of N columns formed by just one vector?
for a row vector concatenated vertically: A=repmat(vector,[1000 1]); for a column vector concatenated horizontally: A...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
how to normalize the image please provide the code for it
Since you graced us with absolutely no specifics, I am assuming you are looking for the simplest take on the term image normaliz...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
tridiagonal matrix with a corner entry from upper diagonal
Check out spdiags and diag functions for a much easier way to do this.

presque 11 ans il y a | 0

Charger plus