Respondida
Decimate signal that contains NANs
I understand you want to decimate signals that contain NaN. I assume you would like to decimate a signal by a factor r if it co...

casi 6 años hace | 0

Respondida
i collected data from a spectrum analyzer and it saved as a .mat file. I confirmed that the signals I collected are baseband signals. Do I still need to create a .bb format file from this data? How is the .mat file different from the .bb file?
It is not mandatory to save base band signal in the .bb format. comm.BasebandFileWriter object store the base band signals in ...

casi 6 años hace | 0

Respondida
how to add a FeedForward layer after my LSTM layer
You could add desired layers after your LSTM network layer by specifying them as columns in the layers array. Consider an examp...

casi 6 años hace | 0

Respondida
Drop-down icon in matlab app designer
Hello, The position of drop-down menus does not affect its functionality. I understand you would like to add two drop-down men...

casi 6 años hace | 1

| aceptada

Respondida
Using subs on contents of a cell
You can substitute I1 with I_val and I2 with I_val seperately. I = subs(cell2sym(I),I1,I_val); But once you do substitution w...

casi 6 años hace | 0

| aceptada

Respondida
how can I silently uninstall MatLab R2017
Hi, The following link will be useful. https://in.mathworks.com/matlabcentral/answers/100721-how-do-i-use-the-silent-uninstall...

casi 6 años hace | 0

| aceptada

Respondida
How can I genereate only one h file?
Hello, You can have a single header file modelname.h as codegen output by setting the File packaging format in Simulink Model C...

casi 6 años hace | 0

Respondida
Expressing a matrix with parameters and letters
Define the variables F1, F2, and F3 as symbolic variables. syms F1, F2, F3 B = inv(A); b = [0 F1 0 F2 0 F3 0 0 0 ]’; x = B*b...

casi 6 años hace | 1

| aceptada

Respondida
Histogram with different sized bins and edges to illustrate wave periods
The following code will plot the above bar graph waveperiods = (9:21); observations = [1 5 14 22 28 5 6 2 1 0 1 0 0]; groups ...

casi 6 años hace | 0

| aceptada

Respondida
Unable to play audio because no audio outputs were found
If you just want to play the music in MATLAB Online, you could use ‘sound’ instead. But it will have lesser capabilities compare...

casi 6 años hace | 0

| aceptada

Respondida
finding sub sequences of a data set
I assume you want to extract a sub-vector of length 30 from each row. But the total length of the column is 129 which is not div...

casi 6 años hace | 0

Respondida
Need to assign values to variable in a vector
The subs function helps in doing the symbolic substitution. The following snippet will do the substitution. x1=input("Please In...

casi 6 años hace | 0

Respondida
Simulink modeling from the command line
Refer to the following MATLAB Answer. Question 2 addresses the above query. https://in.mathworks.com/matlabcentral/answers/1011...

casi 6 años hace | 0

| aceptada

Respondida
Input folders or files do not contain specified file extensions:
Here if you do not define the ReadFcn explicitly, the default function used is imread() which is not supported for .nii extensio...

casi 6 años hace | 1

| aceptada

Respondida
Inserting Bounding Boxes when it is more than two together
A simple if condition before displaying the annotation will do if (size(bboxes,1) > 1) for ii = 1 : size(bboxes, 1) ...

alrededor de 6 años hace | 0

| aceptada

Respondida
alt key in live script
You can disable the toolbox mnemonics by executing the following command. com.mathworks.desktop.mnemonics.MnemonicsManagers.get...

alrededor de 6 años hace | 4

Respondida
How to plot PWM signal with specific duty cycle and frequency ?
The following answer explains how to generate a square wave in Matlab with frequency,​amplitude,​voltage offset, and duty cycle....

alrededor de 6 años hace | 1

| aceptada

Respondida
rand(n,1)
It is difficult to reason why exactly three different pairs generated from the above information. Atleast from MATLAB R2012a on...

alrededor de 6 años hace | 0

Respondida
Question of FFFT in Matlab
The frequency of the sine wave is defined as 128 Hz (f = 128) in the above code. Hence there will be two impulses (ideally, but ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Editing y limits for multiple axes using property inspector
The properties of both the axes can be edited by using the property inspector. If the right axes property needs to be edited, f...

alrededor de 6 años hace | 0

| aceptada

Respondida
Audio Record Object Empty when trying to start/stop with buttons in AppBuilder
Here the recObj is local to the function RECORDButtonPushed and its scope is limited to that function. Hence it is not accessibl...

alrededor de 6 años hace | 1

Respondida
Bug with conv2
The above output from conv2 with the argument as 'valid' is expected. If you are computing in the paper the kernel needs to be ...

alrededor de 6 años hace | 1

| aceptada

Respondida
Not defining backward loss leads to an 'Abstract classes cannot be instantiated' error. Why is that?
I think your MATLAB version is R2019a or earlier and you are referring to the documentation of R2019b. In MATLAB R2019a and ear...

alrededor de 6 años hace | 0

Respondida
Error when building a array code
Hello, The error is generated since the right hand side of zm3(i,j+1) = rain(:,:,2+yr*38); is a matrix with dimension 141x71...

alrededor de 6 años hace | 0

Respondida
How can I create a column matrix whose elements are unknown variables
If you know n, then you could define a column vector as vector = zeros(n,1); Later you can assign the values for each position...

alrededor de 6 años hace | 0

Respondida
How to separate the elements of a table with their names?
I am not sure of getting rid of the for-loop. But the following code can achieve what you are looking for neatly. Assume T is ...

alrededor de 6 años hace | 0

Respondida
Centered FFT & DFT: cannot devise required phase shift vector(s).
fftshift will shift the zero frequency components to the center of the spectrum.

alrededor de 6 años hace | 0

Respondida
How to change vertical alignment on worldmap figure?
The following code will move the meridian (longitude) labels to ‘baseline’ position. load korea map_axis = worldmap(map, ref...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to create a bounding box with a right angled triangle.
I assume that a bounding box is needed to be drawn over a right-angled triangle. x1 = [0 1 0]; y1 = [0 0 1]; polyin = poly...

alrededor de 6 años hace | 0

Respondida
How to find cells corresponding to zero lag in an autocorrelation function
The zero lag produces the highest value in the autocorrelation output. Hence simply finding the maximum value of the autocorrela...

alrededor de 6 años hace | 0

| aceptada

Cargar más