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

casi 5 años hace | 0

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

casi 5 años hace | 0

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

casi 5 años hace | 1

| aceptada

Pregunta


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

casi 5 años hace | 1 respuesta | 0

1

respuesta

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

casi 5 años hace | 0

| aceptada

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

casi 5 años hace | 0

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

más de 5 años hace | 0

Respondida
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); ...

más de 5 años hace | 1

| aceptada

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

casi 6 años hace | 0

| aceptada

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

casi 6 años hace | 0

| aceptada

Pregunta


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

más de 6 años hace | 1 respuesta | 1

1

respuesta

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

más de 6 años hace | 0

| aceptada

Pregunta


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

más de 6 años hace | 0 respuestas | 0

0

respuestas

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

más de 6 años hace | 0

| aceptada

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

más de 6 años hace | 0

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

más de 6 años hace | 1

Pregunta


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

más de 6 años hace | 1 respuesta | 0

1

respuesta