Respondida
correlation window range code
Check out the findpeak function as mentioned in the comments above. You can use multiple Name-Value pairs to suit your use cas...

alrededor de 6 años hace | 0

Respondida
"Example: Define Custom Deep Learning Layer with Learnable Parameters" doesn't work
Thanks for pointing this out. Check out the complete file by running the following command: edit(fullfile(matlabroot,'examples...

alrededor de 6 años hace | 0

| aceptada

Respondida
Getting hatchfill to properly display a patch legend
I presume you’re using the hatchfill function from File Exchange. Internally, it calls the line function to create the hatch ...

alrededor de 6 años hace | 0

Respondida
PDF of paretotail distribution
Since the object returned by the paretotails is of Piecewise Distribution type, you can directly use the pdf function to query t...

alrededor de 6 años hace | 0

| aceptada

Respondida
how to reverse drive ego vehicle in driving scenario designer app.?
It is not currently possible to reverse the direction of motion of ego vehicle in Driving Scenario Designer app. This might be i...

alrededor de 6 años hace | 0

| aceptada

Respondida
finding the distance traveled before speed is reduced to a certain velocity
The original equation from your question is . Rearranging the terms would give . We would need to integrate the equation abo...

más de 6 años hace | 1

| aceptada

Respondida
I need help with a Triple Integral
Try using the following code: fun = @(x,y,z) y; % y is r zmin = @(u,v) sqrt(2-(v.^2)/20)+12; % z zmax = @(u,v) 17...

más de 6 años hace | 1

Respondida
I want to transform an trapez into a square (fitgeotrans)
The fitgeotrans function transforms the control point pairs in the movingPoints argument to the control point pairs in the fixed...

más de 6 años hace | 1

Respondida
T-test cutoff
Try adding the following lines before plotting the values: tstatMod = tstat; tstatMod(tstat<=2.32) = NaN; And then modify ...

más de 6 años hace | 0

Respondida
Summing with multiple variables
Try replacing the appropriate line of code with the following: Phi=sum(Am.*cos(Bm.*x2).*exp(-lambdam*t),2); The sum function...

más de 6 años hace | 0

Respondida
Indefinite Integration of a function
The output from the integration stays the same and remains unsolved because MATLAB is unable to find a closed form expression fo...

más de 6 años hace | 0

| aceptada

Respondida
Create arbitrary decision tree without training data?
Have a look at Stateflow to implement flow charts. Here are a couple links to get you started: https://www.mathworks.com/hel...

más de 6 años hace | 1

Respondida
How to use ranksum with splitapply?
The splitapply function applies the function mentioned as an argument to each group. For the ranksum function we would need to p...

más de 6 años hace | 0

Respondida
How to create a connecting model transfer function out of multiple transfer function?
Have a look at https://www.mathworks.com/help/control/ug/conversion-between-model-types.html#f3-1039600 It would help to conv...

más de 6 años hace | 0

Respondida
Using a variable with fwrite and next line
Consider replacing the appropriate line of code with the following: fline = strjoin(walks,','); fline = strjoin({fline,''},'...

más de 6 años hace | 0

Respondida
Need help for mathematics problem.Signals and Systems and Newton method.
Consider modifying the following code for the question related to sampling: fy=1; %frequency in Hz wy=2*pi*fy; %signal frequ...

más de 6 años hace | 0

Respondida
Coding noise cancellation in matlab
Consider using either of the following syntaxes: ha=dsp.LMSFilter('Length',256,'StepSize',mu); ha=dsp.LMSFilter(256,'StepSiz...

más de 6 años hace | 0

Respondida
Table values as input to a function
The desired expression can be evaluated in two ways. One of them uses symbolic math while the other avoids symbolic math altoget...

más de 6 años hace | 0

Respondida
the fsurf produce incorrect plotting?
The output by fsurf in the example given is being plotted for P in the range of 298 – 500 and T in the range of 10^(-10) – 10. T...

más de 6 años hace | 0

| aceptada

Respondida
error while using hht function
The ‘FrequencyLimits’ argument in the hht function can take values within [0,fs/2] where ‘fs’ is the value set for the Sample Ra...

más de 6 años hace | 0

| aceptada

Respondida
I have a huge image file (.dat file 17Gb) of columns x rows x frames. I need to import this file as fast as possible, but only every 10th frame or so.
The fseek command takes as second argument the offset which is the number of bytes to move from origin. To obtain every Nth fr...

más de 6 años hace | 0

Respondida
Deep learning with vector output
You can use the tanhLayer to obtain output values in the range of –1 to 1. Here’s the documentation for more information: http...

más de 6 años hace | 0

Respondida
Why won't my axes position change stick?
Use the drawnow command while setting or getting positions of any graphics objects. This makes sure that things are in sync as t...

más de 6 años hace | 0

Respondida
I currently have 2019a but I need 2010b.
You can download any of the earlier releases from https://www.mathworks.com/downloads/web_downloads/select_release while you’re ...

más de 6 años hace | 0

| aceptada

Respondida
Layer 'conv_1': Input size mismatch. Size of input to this layer is different from the expected input size.
The sequenceInputLayer accepts as ‘inputSize’ the number of features of the input data. Setting the ‘inputSize’ to [3 1 1] shoul...

más de 6 años hace | 1

Respondida
BiLSTM for sequence to sequence G2P conversion (DNN)
You can use the sequenceInputLayer to input a sequence to the bilstmLayer. To output a sequence set the ‘OutputMode’ parameter t...

más de 6 años hace | 0