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

10 meses hace | 0

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

11 meses hace | 1

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

11 meses hace | 0

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

11 meses hace | 0

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

11 meses hace | 0

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

11 meses hace | 0

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

11 meses hace | 0

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

11 meses hace | 0

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

11 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

12 meses hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

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

alrededor de 1 año hace | 0

Cargar más