Réponse apportée
Cramer's Rule Homework Help
What you wrote in there should work. I am guessing you are actually having trouble with syntax. data = xlsread('sole_ex1.xls...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Can someone help me setup the Chandrasekhar H-equation in Matlab?
I will tell you 2 things: 1) x is most definitely a vector. 2) The NxN matrix is obtained by writing the summation over j ...

presque 11 ans il y a | 0

Réponse apportée
linear regression statistical parameters
There is a good chance there are other things wrong with your problem, but first off, it is: [b,bint,r,rint,stats] = regress(...

presque 11 ans il y a | 0

Réponse apportée
Need to write a function that rotates cartesian coordinates
Look up rotation matrix or transformation matrix on Wikipedia. Your final function should take coordinates matrix and angle, and...

environ 11 ans il y a | 0

Réponse apportée
How to find the difference between two graphs?
One way is to interpolate the 59x2 matrix to be 149x2. Check spectral interpolation using Fourier transforms. You might even be ...

environ 11 ans il y a | 0

Réponse apportée
Can MATLAB be used in Arduino Applications?
http://www.mathworks.com/hardware-support/arduino-matlab.htmlhtml I would still suggest C or LabVIEW(beginner friendly) for A...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to draw same size rectangle on different image location
This is a filter operation. I am 95% sure you cancan get away with using imdilate with a circle or square structral element of y...

environ 11 ans il y a | 0

Réponse apportée
Comparing two non periodic signals (signal shift)
Import your signals as A and B using the wizard. Also import the time information (x-axis) as T. X=(ifft(fft(A).*conj(fft(B)...

environ 11 ans il y a | 0

Réponse apportée
Can any one explain what is the exact difference between PCA and MPCA, and how to apply the MPCA ON face images
The very same page you copy pasted that explanation from has 2 decent references of a code and example. <http://en.wikipedia....

environ 11 ans il y a | 0

| A accepté

Réponse apportée
Find brings back empty matrix
That is because a number cant be bigger than 60 and lower than 40 at the same time: L<40 & L>60 You need to figure out wh...

environ 11 ans il y a | 1

| A accepté

Réponse apportée
Is this possible to convert a thick line or curve into its thinner version
Take an image with the best exposure possible, having high contrast between the paper white and font black. Use a simple treshol...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How to fit a curved surface to 3d data
First off, many of your questions above about when to decide what curve to use, where to stop, where to mark data as outliers ar...

environ 11 ans il y a | 0

Réponse apportée
How can histograms for multiple images be stored to one .mat file in Matlab?
save('Hist.mat',Hist1,Hist2); Or you can go memory mapped and say: save Hist.mat Hist1 -v7.3 m = matfile('Hist.mat','W...

environ 11 ans il y a | 1

Réponse apportée
Labelling edges in an image
For this particular image and any image with a similar enough trivial nature, there is a very short solution: A is your image w...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Convert from cell to string
Do you specifically need it to be a cell array at the end? Why not just use a recursive string concatenation? Something like: ...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
I am new to MATLAB are simple files saved in 2014 format compatible with 2013 (ie no advanced functionality)
Yes, they will be. You can also check the function "save" and its flags to maintain compatibility with even older versions of MA...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Probability of gray level in an Image
npx=0; count=0; for i = 1:5 [pixelcount greylevel] = imhist(image(i)); count=count+pixelcount; npx=npx+numel...

plus de 11 ans il y a | 1

Réponse apportée
index out of bounds
I don't have the Global Optimization Toolbox, but I went through your code and my first impression is that your problem could be...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Matlab is scripting language or programming language?
http://stackoverflow.com/questions/17253545/scripting-language-vs-programming-language is a discussion in general about the d...

plus de 11 ans il y a | 1

Réponse apportée
How to detect which rows are left in the matrix when the unique function is used to eliminate the repeated rows?
[C,ia,ic] = unique(A,'rows')

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
Reflect a triangle given a mirror line
Look at householder reflectors on wikipedia. The function "flip" might also help.

plus de 11 ans il y a | 0

Réponse apportée
how to transfer a complex valued matrix into excel?
One way would be to transfer them separately, using real and imag. I am not sure if that presents a problem for you. You would t...

plus de 11 ans il y a | 0

Réponse apportée
How to change marker colors in Scatter3 plotted with patch
You can change the marker shape and size from the GUI. If you want to see how it would be done in-line, do the changes in GUI, t...

plus de 11 ans il y a | 0

Réponse apportée
How to add two binay images and add the result to a third image?
Here is how to make a loop for that: R(:,1)=I(:,1)+I(:,2); %Initialization for i=2:4 R(:,i)=R(:,i-1)+I(:,i+1); %This i...

plus de 11 ans il y a | 0

Réponse apportée
Attempted to access indx(1); index out of bounds because numel(indx)=0.
That means check sometimes don't have any 0 elements when you do [indx,dum]=find(check==0); Try instead: if length(in...

plus de 11 ans il y a | 0

Réponse apportée
Selecting two different periods for variable / calibration data
There are better ways to do this, but the way that needs the less thought and the way you would understand the fastest would be:...

plus de 11 ans il y a | 1

| A accepté

Réponse apportée
How to plot multiple streams of data in real-time?
More details would help. So far, the only thing I can suggest is to check "drawnow".

plus de 11 ans il y a | 0

Réponse apportée
Interpolate Vectors into rotated grid
I would first stretch your original grid to be uniform in all directions. Then do planar rotation twice to obtain the new grid. ...

plus de 11 ans il y a | 0

Réponse apportée
How to select all .wav files from a directory?
files = dir('*.wav'); audio = cell(1,125); for k = 1:125 audio{k} = audioread(files(k).name); end

plus de 11 ans il y a | 2

| A accepté

Réponse apportée
Ceate a x b matrix (or 2D array) from 2 1Darrays, and populate each cell from another array
[X,Y] = meshgrid(xgv,ygv) is your friend. You can also do it another way, let say your x range is 1 to 5 and y range is 1...

plus de 11 ans il y a | 0

Charger plus