已回答
Error creating array with evenly spaced elements
Hi @Luan Vuong, The issue that you are facing is due to the floating point error. As you also pointed out that the exact value ...

2 months 前 | 2

| 已接受

已回答
How to use the grey prediction model?
Hi, MATLAB provides linear, non-linear, discrete time as well as continous time grey box model. You can refer to the following ...

3 months 前 | 0

已回答
How to save chararcter matrix in single column in NetCdf file?
Hi, The following MATLAB answer that handles the same issue that you are facing: https://www.mathworks.com/matlabcentral/answe...

3 months 前 | 0

已回答
Get netCDF data from Copernicus Marine
Hi Asier, I understand that you are trying to access netCDF data using an OPeNDAP URL using the "ncdisp" function in MATLAB R2...

3 months 前 | 0

已回答
how can import data excel to scope in simulink? (plot charts)
Hi, You can follow the steps below to visualize Excel sheet data in Scope block in Simulink: 1) Load the excel sheet in form o...

3 months 前 | 0

已回答
Loss function Ford multi Output regression
Hi, Yes, you are correct the different magnitudes of outputs will affect the training of the neural network model. "Output 1" w...

3 months 前 | 0

已回答
Importing data for a Simulink example in MATLAB
Hi @SNM Nima, The above example is using a "PreLoadFcn" model callback as shown below: load('solar_load_data_24h.mat') The ab...

3 months 前 | 1

已回答
Matlab on ARM processor?
Hi Brennan, MATLAB supports Apple silicon processors in combination with macOS, other ARM processors are not supported. Additi...

3 months 前 | 0

已回答
Simulink user interface slow
I was also facing a similar issue. In my case the issue was due to the anti-virus software which was slowing down the Simulink U...

3 months 前 | 0

已回答
error: unknown type name 'mxArray'
Hi Aubrey, You can refer to the following MATLAB answer which handles a similar issue: https://www.mathworks.com/matlabcentral...

3 months 前 | 0

已回答
'if' instead of a 'switch' when auto code generation
Hi @예진 박, You can refer to the "ConvertIfToSwitch" configuration parameter of "coder.EmbeddedCodeConfig" object to control the ...

5 months 前 | 1

已回答
Extract features from training images (Matlab - Computer Vision)
You can use the MATLAB functions "detectSIFTFeatures" and "extractHOGFeatures" to extract the SIFT and histogram of gradient fea...

5 months 前 | 0

已回答
We are trying to develop an AI model that detects 7 types of abnormal driver behavior
Hi @현준, I would recommend using video data to capture temporal dynamics and context which are necessary for accurate behaviour ...

5 months 前 | 0

已回答
Modeling and solving a pde
Hi NS, It would be helpful if you can attach the figure mentioned in the query. Please refer to the following post which mentio...

5 months 前 | 0

已回答
how to use printf inside a CUDA kernel?
Hi Daniel, One more suggestion that I found in the following discussion is to use "cudaDeviceSynchronize" to ensure that the ke...

5 months 前 | 0

已回答
Calculation Value at Risk in Matlab
Hi Preeti, In addition to Umar's response, you can also refer to the following MathWorks documentation that explains how Value-...

5 months 前 | 0

已回答
Can i do a Time Sensitive Netowrk formulation in MATLAB?
Hi Zhao, You can refer to the following resources that involves Time Sensitive Network formulation using MATLAB and Simulink. ...

8 months 前 | 0

已回答
Component under test in test harness
Hi Daniel, You can follow the following steps to programmatically retrieve the Component under Test. 1) Use sltest.harness.fi...

8 months 前 | 0

已回答
Trying to do Image segmentation by neural networks, but mini-batch accuracy and mini-batch loss are fluctuating
Hi Peter, In order to prevent the fluctuation in the results, you can try updating the learning rate adaptively while training ...

8 months 前 | 0

已回答
dTdt=−k(T−Ta) k=0.4,Ta=25∘, initial condition T(0)=T0=75∘C .how to solve using ode45 and report the temperature obtained at times t=1,2,3 and 4 . report T(1.0)
Hi Ramesh, You can follow the following steps to solve a differential equation using "ode45" function 1) Define the ODE functi...

8 months 前 | 0

已回答
detectSIFTFeatures only working for uint8
Hi Michael, If you want to use an image of double data type as input, you should first scale it down to the range [0, 1]. Doing...

8 months 前 | 0

| 已接受

已回答
using two 73728 x 3 matrix with RGB and Contour to draw a heatmap
Hi Jinyang, In my understanding you want to create a color label similar to as shown in the top portion of the left image. You...

8 months 前 | 0

已回答
Question about python API and computer vision module
Hi Hugo, The reason that you are seeing the output as "<matlab.object object at 0x7f73e51eb050>" is not due to lack of converg...

8 months 前 | 0

已回答
How to crop an ultrasonography to remove annotations and the black portions?
Hi Ostache, You can use edge detection or thresholding to identify the content boundaries and then crop accordingly. This metho...

8 months 前 | 0

已回答
Mean Composite of netcdf images
Hi Arnab, Based on the code you have provided above, you've successfully looped through your .nc files, read the relevant data ...

8 months 前 | 0

已回答
How to train LSTM net on very large dataset.
Hi Davey, If you don't want create multiple smaller files, you can create a MATLAB's custom datastore that reads the data direc...

9 months 前 | 0

已回答
Convert a sound to a mathematical formula
Hi Hadasa, You can refer to the following MATLAB answers which involves a similar problem statement of getting a mathematical...

9 months 前 | 0

已回答
Signal processing toolbox license error when accessing MATLAB from Python.
Hi Upendra, You can refer to the following MATLAB answer which handles a similar issue that you are facing. https://www.mathwo...

9 months 前 | 0

已回答
MatlabExecutionError when using Python API and calling user script
Hi Marc, Since your simple_script.m contains only an assignment statement, it is not returning anything to the python. In my op...

9 months 前 | 0

已回答
User-defined matlab function does not return the right result when run from Python
Hi, Here is the python code to call the P_sinr function written in MATLAB. % NOTE: This is a python code, hence putting the ...

9 months 前 | 0

加载更多