回答済み
Can someone explain how this recursive function works step by step?
function outvar = recurfn(num) % Format: recurfn(number) if num < 0 outvar = 2; else outvar = 4 + r...

4年以上 前 | 0

回答済み
Running MatLab in Python error
Have you tried to delete that "r" that is just before your path?

4年以上 前 | 0

回答済み
Combining string cell arrays to put in UITable
Values within a cell array must be numeric, logical, or char Well, your answer is there. In the following line, you are declari...

4年以上 前 | 1

| 採用済み

質問


Euler 3D rotation between two vectors
Hello everyone, I would like to obtain the Euler angles needed to rotate a vector u = (0,0,1) to a vector v, defined between an...

4年以上 前 | 1 件の回答 | 0

1

回答

回答済み
Fourier transform image and a plot of the Fourier coefficients as a function of time.
why do I have to use abs of a3 or my fftshift(a2)? Calculating the absolute value of Fourier coefficients its an easy way to p...

4年以上 前 | 0

| 採用済み

回答済み
i have 12 grpahs saved from a matlab script is there a way to combine them
Check this other question. I did not try those methods, but I hope they help you! https://es.mathworks.com/matlabcentral/answer...

4年以上 前 | 0

回答済み
i need to know why is the scale of the x-axis on my graphs differ from one another.
it seems that you have the signal duplicated in the first graph. if you want to "adjust" the span of the xaxis, I would give a l...

5年以上 前 | 0

回答済み
App designer Textarea issue
Did you try to use a char instead of string to show the results in textarea? app.PredikcianruTextArea.Value = char(app.strp); ...

5年以上 前 | 1

| 採用済み

回答済み
Error using == function when trying to group certain data
== only works for numbers. You are comparing strings and therefore you need to use "strcmp" https://es.mathworks.com/help/matla...

5年以上 前 | 0

| 採用済み

回答済み
export matrix into Excel
xlswrite only works with matrixes and you created a table. You are looking for the function called "writetable" https://es.ma...

5年以上 前 | 0

| 採用済み

質問


dsp.AudioFileReader. What happens when the audio is shorter than 'SamplesPerFrame'?
Hello everybody! While looking to the dsp.AudioFileReader, a question came to me. Imagine that you are processing an audio wh...

6年弱 前 | 1 件の回答 | 1

1

回答

回答済み
Plot a multichannel signal to identify the frequency value
I would do a fast fourier transform for each channel (fft in matlab), so you have the frequential componentes of each channel. T...

6年弱 前 | 0

| 採用済み

質問


MATLAB's Depth Estimation from Stereo Video
Hello everybody! While I was looking for the example of depth estimation using stereo video, a question popped in my mind. I ...

6年弱 前 | 0 件の回答 | 0

0

回答

回答済み
saving 3D matrix from one loop
Try Pp = zeros(length(Xp),length(size(AF_Field_P,1)),length(size(AF_Field_P,2))); for pp = 1:length(Xp) Pp(pp,:,:) = .....

6年弱 前 | 0

| 採用済み

回答済み
Why the imaginary part of the points p1,p2,p3 isn't zero in the plane?
You are not plotting a Real vs Imag plot, but just the normal one. The 'x' makes the plotted data to be represented as an x mark...

6年弱 前 | 0

回答済み
how to use legends for polarplot
As you are using polarplot instead of polarpatter, you can directly use "legend" to that, like a normal plot. Just define a lege...

6年弱 前 | 1

質問


All zeros result when concatenating a complex vector with its conjugate
So, I have a double complex matrix, P, which is 15251x1024 and I want to convert it to a 15251x2048 matrix with hermitian symmet...

6年弱 前 | 1 件の回答 | 0

1

回答