Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 1

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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 ...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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 ...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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...

circa un anno fa | 0

Risposto
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 ...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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...

oltre un anno fa | 0

Risposto
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 ...

oltre un anno fa | 0

Carica altro