Answered
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 years ago | 0

Answered
Running MatLab in Python error
Have you tried to delete that "r" that is just before your path?

4 years ago | 0

Answered
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 years ago | 1

| accepted

Question


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 years ago | 1 answer | 0

1

answer

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Question


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...

5 years ago | 1 answer | 1

1

answer

Answered
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...

5 years ago | 0

| accepted

Question


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 ...

5 years ago | 0 answers | 0

0

answers

Answered
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,:,:) = .....

5 years ago | 0

| accepted

Answered
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...

5 years ago | 0

Answered
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...

5 years ago | 1

Question


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...

5 years ago | 1 answer | 0

1

answer