Answered
How to make image from raw data in MATLAB
Hello Stephen, One method to create a binary image from a 1-D array is by using the array elements as indices for the image pix...

12 months ago | 0

Answered
Training Data for NARX
Hello Wissal, To create a training dataset for a NARX model, follow these steps: Convert the input matrix 'U' and the output m...

12 months ago | 1

Answered
Searching for a line of characters from a text file
Hello @School Elec, It seems your goal is to extract the letters representing interactions between the transmitter 'TX' and rec...

12 months ago | 0

Answered
how to plot hexagon
Hello Noor, To create a tri-sector partition within a hexagon, follow these steps: Begin by defining the vertices of the hexag...

1 year ago | 0

Answered
Need help with multiple input in ANN
Hello Mohamad, To predict pipe attributes, roughness and diameter, using demand and pressure as inputs, follow these steps: De...

1 year ago | 0

Answered
There are 50 dat files in a folder. I want to import it to matlab and then select specific dat files.
Hello Shrutidat, To plot the contents of .DAT files according to the requirements mentioned above, follow these steps: Add the...

1 year ago | 0

Answered
Is there a way to stop simulation, when an error case is met.
Hello @D D, To abruptly stop a simulation, one approach is to use a 'MATLAB Function' block that checks whether the input is va...

1 year ago | 0

Answered
IC block does not support complex input. error " complex signal mismatch "
Hello Naghme, The above mentioned issue arises because complex numbers are not valid inputs for the 'IC' block. For more detail...

1 year ago | 0

Answered
How do I add one library to another in MATLAB?
Hello Krishna, To link one library to another, follow these steps: Open both library models. Place the blocks from 'LIB_2' th...

1 year ago | 0

Answered
I am using MATLAB function block for linprog as follows but this error occurred-Size mismatch for MATLAB expression 'linprog'. Expected = 1x1 Actual = 2x1
Hello Gurparas, The error indicates that the MATLAB Function block expects the output variable to be 1x1 in size, but the 'linp...

1 year ago | 0

Answered
interpretation of result dashboard
Hello Herr, It sounds like you are trying to find out which files have not been checked yet. To achieve this, follow these step...

1 year ago | 0

Answered
Need code to find standard deviation?
Hello Muhammad, To calculate the standard deviation of level 6 decomposition of a signal, using multiple wavelets, try these st...

1 year ago | 0

Answered
neural network input error
Hello Junfan, The error indicates a mismatch between the size of the input data and what the input layer of the neural network ...

1 year ago | 0

Answered
Interpulating multipule sets of data without loops
Hello Ariel, To perform 1-D interpolation on multiple sets of data without using a loop, consider these steps: Create a functi...

1 year ago | 0

Answered
When use K-cross validation concept to classify images, is the dataset is divided for training and testing? or for used for training and validation?
Hello Fatemah, When using machine learning technique like K-Cross Validation, the best practice is to: Start by splitting the ...

1 year ago | 0

Answered
Time series (stock data), how to know which price level was hit first in intraday data
Hello Rizwan, It seems the question is about determining whether the price increased by 30 pips first or decreased by 50 pips f...

1 year ago | 0

Answered
A top-level output parameter containing a class is not supported in MATLAB Function Block. Output parameter 'mes' contains a class.
Hello Bhavik, The issue mentioned above occurs because a class is not a supported data type for the output port of a 'MATLAB Fu...

1 year ago | 0

Answered
How can I train a Convolutional Neural Network for a Regression task?
Hello Ioannis, A Convolutional Neural Network (CNN) can indeed be trained for regression tasks. This documentation provides an ...

1 year ago | 0

Answered
Train hidden networks example
Hello Xavier, I am assuming the example mentioned in the question, is the one provided in this documentation: web(fullfile(doc...

1 year ago | 0

Answered
How to create layers in CNN using trainNetwork?
Hello Selva, To add layers to a Neural Network, the Deep Learning Toolbox offers many built-in functions to assist in this proc...

1 year ago | 0

Answered
transpose matrix and data arrangement in simulink
Hello Yana, To make sure that transposing a matrix does not add any extra dimensions, try this workaround: Add a 'MATLAB Funct...

1 year ago | 0

Answered
Using the datafeed toolbox and bloomberg, how do you return a matrix of multiple securties and prices for the same dates?
Hello Cormac, I am assuming that the cell array 'd', sized 2x1, contains two timetables, each sized 13x2. These timetables repr...

1 year ago | 0

Answered
Bloomberg - Matlab connection, multiple securities: balanced sample
Hello Bjoern, To create a timetable that includes data for multiple securities, the 'synchronize' function can be used to combi...

1 year ago | 0

Answered
How can I plot Polyhedra
Hello Ali, To plot a Polyhedron, the 'fimplicit' function can be utilized. More details about this function are available in th...

1 year ago | 0

Answered
Using USB webcams in Simulink
Hello Tim, The workflow to access a USB webcam in real-time with Simulink depends on the version of the product being used. For...

1 year ago | 0

Answered
Split String in a Table
Hello Aldrich, To split the strings in a column, follow the steps in the example below: Make sure the column with strings is a...

1 year ago | 0

Answered
How do I input a lot of values and record each single output in Bvp4c?
Hi Hussein, To record the values of 'MainpADM' for different values of 'Pe', follow these steps: Preallocate the variable 'Ma...

1 year ago | 0

Answered
Simulink rapid accelerator slowly filling HD
Hello Giorgio, To prevent the creation of large .DMR files, consider using the Simulation Data Inspector settings to set glo...

1 year ago | 0

Answered
Logic help for fault detection
Hello Asmaa, It seems the question is about finding a way to ensure that if there is a fault in the input signal, the output re...

1 year ago | 0

Answered
i have a binary image , in that i used roifilt2 to filter ROI , i need to calculate the black pixels in the filtered region?
Hello Priya, To determine the number of black pixels, the 'sum' function can be utilized. This function calculates the sum of ...

1 year ago | 0

Load more