Risposto
i have data.mat file and I am working on load forecasting for solar power with CNN, I am facing issue in data preparation.
Hi @muhammad, The reshape function requires the total number of elements in the input array to be preserved in the output array...

circa 2 anni fa | 0

Risposto
How to change the function "vision.TextInserter" to function "insertText" in this code ?
Hi Vitaliy, To use the insertText function in place of vision.TextInserter, lines of code that call vision.TextInserter and the...

circa 2 anni fa | 0

Risposto
Error in 'DDS_compiler/IQ Demodulator/MixerI': Initialization commands cannot be evaluated. Caused by: Each RF Blockset system must have a RF Blockset Configuration block.
Hi Swathi, To run models containing blocks from the RF Blockset, a Configuration block from the "RF Blockset/Circuit Envelope/U...

circa 2 anni fa | 0

Risposto
Add Internet Protocol Packet Decoder (Issue related to example and addUpperLayerDecoder) - V2022a
Hi @SummersEnd, The “Add Internet Protocol Packet Decoder to PCAP File Reader” example has been added in R2023a. If supported b...

circa 2 anni fa | 0

Risposto
Is sampling rate 384kHz through direct sound playable in MATLAB?
Hi @哲史 伊藤, Audio features from base MATLAB, such as “audioplayer”, use the “DirectSound” audio host which is limited to 192kHz....

circa 2 anni fa | 1

Risposto
I need to convert mutiple .nii files into one .nii.gz file.
Hi Ed, The “gzip” command is designed to compress individual files rather than creating a single archive containing multiple fi...

circa 2 anni fa | 0

Risposto
How to Measure the Time Difference of Arrival(TDOA) between two receivers
@Ijjada Hari, Rectangular pulse waveforms can be generated using a “phased.RectangularWaveform” object. Here is sample code for...

circa 2 anni fa | 0

Risposto
How does the creation path for 'slprj' in Embedded Coder work?
Hi Philipp, I was facing a similar issue when using Embedded Coder to perform SIL. A workaround for me was to change the ‘Check...

circa 2 anni fa | 0

Risposto
PowerGUI and Rapid Accelerator: A new block names [...] cannot be added
Hi Marten, I was getting a similar error at the "Connect to Rapid Accelerator Process and Simulate" stage, when simulating my m...

circa 2 anni fa | 0

Risposto
How to use two releases of MATLAB (R2017a and R2022b) simultaneously on my laptop?
Hi Sadiq, As I understand, you are getting license errors including a “Deactivation required” error when trying to use multiple...

circa 2 anni fa | 0

Risposto
binomial model (in the context of stocks): doesn't work well
Hi Jan, The “OptionPrice” matrix gives the option value for each possible path in the binomial model, which is the price paid b...

circa 2 anni fa | 0

Risposto
Over time reduce an input value linearly with a delay after each decrement, using a Simulink model
Hi Steve, This can be achieved using the “Signal Editor” block, which can create and edit input signals from user specification...

circa 2 anni fa | 0

Risposto
Simulink orbit propagator: How do I pause and access data at each time step?
@Gökhan, As I understand, at every simulation time step, you want to save the position and velocity outputs of the “Orbit Propa...

circa 2 anni fa | 0

| accettato

Risposto
Change asynchronous machine block parameter during run time
@Ryhze, I understand that you want to change the parameters of the “Asynchronous Machine” block at model runtime. However, as p...

circa 2 anni fa | 0

Risposto
im unable to get the drive cycle block
Hi Khushal, This error message seems to indicate an issue with the “startup.m” file, which is a user defined script executed at...

circa 2 anni fa | 0

Risposto
How to log out of matlab drive account?
@chao liang, MATLAB Drive Connector currently does not have a built-in function to log out of it. To sign out and change accoun...

circa 2 anni fa | 1

Risposto
Reg. Scrambling in Simulink
@SS, The “Initial states” parameter for the “Scrambler” block needs to be a non-negative integer vector of length equal to the ...

circa 2 anni fa | 0

Risposto
Seeing error-The block 'ABCblock/xyz' has a discrete sample time that does not match the sample time 0.02 of the If block 'ABClocl/xyx/IF'.
@yogi, Generally, setting “Sample Time” in “If-Action” subsystems is not recommended as it can cause sample rate transition to ...

circa 2 anni fa | 0

Risposto
Receiving error "Unable to open csv file". What could be causing this issue?
Hi Norma, This error message indicates that the selected .csv file is not in the MATLAB path and is hence not accessible by the...

circa 2 anni fa | 0

| accettato

Risposto
Can I use the fitcensemble function to create a Random Forest model?
Hi Junwoo, The primary characteristic of a Random Forest model is to use random subsets of predictors to train individual trees...

circa 2 anni fa | 0

Risposto
Increase the font size of the interface menus/GUI of app designer
Hi Ali, The font size of the interface menus in App Designer can be changed through the “Font Size” option in App Designer pref...

circa 2 anni fa | 0

Risposto
HDL Coder for powerlib library block
Hi Bobb, The “powerlib” library is now a part of Simscape Electrical libraries. You can view the list of blocks supported for H...

circa 2 anni fa | 0

Risposto
why embedded coder report "fatal error: cstring: No such file or directory" when i trying to build the code
@瑶 王, From the question categories, I assume you are building code to deploy to TI C2000 board and encountering the specified e...

circa 2 anni fa | 0

Risposto
When I installed it, it showed that it was not compatible with Windows. How should I solve it?
@浩 程, I was able to install offline documentation in R2023b without any errors. This issue might be caused by using a version o...

circa 2 anni fa | 0

| accettato

Risposto
How to divide image datastore into training set, validation set and test set for training a CNN network with k-fold cross validation?
Hi Bipin, The “splitEachLabel” function can be used to initially split the image datastore into training and test sets. Followi...

circa 2 anni fa | 1

Risposto
SIgned up for trial license. Followed install instructions (Debian 11). run "matlab", get "Licensing error: -9,57"
Hi Michael, From what I understand, you are getting a licensing error when trying to run MATLAB with a trial license. The "Lice...

circa 2 anni fa | 0

Risposto
Shearlet transform for image decomposition
Hi Ankan, Starting from MATLAB R2019b, the “sheart2” function can be used to return the Shearlet transform of a real-valued 2D ...

circa 2 anni fa | 1

Risposto
How to perform fuzzy c means clustering using custom initializations (initial fuzzy membership metric, datapoints, cluster centers.. etc)?
@MashalS, Starting from MATLAB R2023b, Initial estimate for cluster centers can be specified by creating an “fcmOptions” object...

circa 2 anni fa | 0

Risposto
fuzzy c-means with no random initial centers
Hi Natasha, Starting from MATLAB R2023b, Initial estimate for cluster centers can be specified by creating an “fcmOptions” obje...

circa 2 anni fa | 0

Risposto
Error:An error occurred during simulation and the simulation was terminated Caused by: Derivative of state '1' in block 'pro1/PV Array/Diode Rsh/Transfer Fcn' at time 0.0
Hi Rex, From the error message you have shared, I assume you are performing photovoltaic modeling using blocks from the “PV Arr...

circa 2 anni fa | 0

Carica altro