Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
"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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 1

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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

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

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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 ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0