Answered

Matlab code to Extract one cell from multiple .csv files formatted in the same way, then create matlab matrix and output table in .csv

Hi Ayesha, Have a look at a similar question here. Hope it helps!

Matlab code to Extract one cell from multiple .csv files formatted in the same way, then create matlab matrix and output table in .csv

Hi Ayesha, Have a look at a similar question here. Hope it helps!

1 year ago | 0

Answered

sum pixel value in an image.

Hi Ahmad, The code and file you have provided are giving the following results. Are these the expected ones?

sum pixel value in an image.

Hi Ahmad, The code and file you have provided are giving the following results. Are these the expected ones?

1 year ago | 0

Answered

How to plot Design Structure Matrix?

Hi Hau Kit Yong, You could use the below code to plot empty squares using spy function spy(sparse_matrix,'rs') %for red square...

How to plot Design Structure Matrix?

Hi Hau Kit Yong, You could use the below code to plot empty squares using spy function spy(sparse_matrix,'rs') %for red square...

1 year ago | 0

Answered

sum pixel value in an image.

Hi Ahmad, Yes, the dicomread function returns the pixel values of the file and stores it in variable X in the above mentioned c...

sum pixel value in an image.

Hi Ahmad, Yes, the dicomread function returns the pixel values of the file and stores it in variable X in the above mentioned c...

1 year ago | 0

Answered

Problems with intersect function

Hi Diana, Have a look at a question with similar issue : https://www.mathworks.com/matlabcentral/answers/418668-digraph-plot-bu...

Problems with intersect function

Hi Diana, Have a look at a question with similar issue : https://www.mathworks.com/matlabcentral/answers/418668-digraph-plot-bu...

1 year ago | 0

Answered

Fmincon with UseParrallel option + Simulink model with variant control in rapid accelerator mode

Hi Eyefujirin, Try having a look at a similar question : https://www.mathworks.com/matlabcentral/answers/124066-problem-using-o...

Fmincon with UseParrallel option + Simulink model with variant control in rapid accelerator mode

Hi Eyefujirin, Try having a look at a similar question : https://www.mathworks.com/matlabcentral/answers/124066-problem-using-o...

1 year ago | 0

Answered

Input ports (1, Action) If Action Subsystem' are involved in the loop?

Hi Adit, I could see an algebraic loop formed in your model by the signal coming to Total_pressure_BP input of Pump 1 subsystem...

Input ports (1, Action) If Action Subsystem' are involved in the loop?

Hi Adit, I could see an algebraic loop formed in your model by the signal coming to Total_pressure_BP input of Pump 1 subsystem...

1 year ago | 0

Answered

Simualted Annealing with Discrete Points Optimization

Hi Mingcheng, Have a look at this link to perform Discrete Simuated Annealing. Hope it helps!

Simualted Annealing with Discrete Points Optimization

Hi Mingcheng, Have a look at this link to perform Discrete Simuated Annealing. Hope it helps!

1 year ago | 0

| accepted

Answered

How to implement multiple excels with same time horizon?

Hi Jiexiang, Have a look at similar question in this link : https://www.mathworks.com/matlabcentral/answers/89176-summing-numer...

How to implement multiple excels with same time horizon?

Hi Jiexiang, Have a look at similar question in this link : https://www.mathworks.com/matlabcentral/answers/89176-summing-numer...

1 year ago | 0

| accepted

Answered

Ploting a Bar graph based on the amount of specific values in a colum

Hi Andrej, I'm assuming that you are trying to plot the ages of people with salary greater than 50K on X-axis and the amount by...

Ploting a Bar graph based on the amount of specific values in a colum

Hi Andrej, I'm assuming that you are trying to plot the ages of people with salary greater than 50K on X-axis and the amount by...

1 year ago | 0

Answered

sum pixel value in an image.

Hi Ahmad, Try using the following code to find the sum of pixels of images in DICOM file. n=[]; % Find sum of images by provi...

sum pixel value in an image.

Hi Ahmad, Try using the following code to find the sum of pixels of images in DICOM file. n=[]; % Find sum of images by provi...

1 year ago | 0

| accepted

Answered

How to use the latex interpreter properly in appdesigner figures?

Hi Rick, I have brought this issue to the notice of our developers. They will investigate the matter further.

How to use the latex interpreter properly in appdesigner figures?

Hi Rick, I have brought this issue to the notice of our developers. They will investigate the matter further.

1 year ago | 1

| accepted

Answered

How do i determine and plot rerlative importance in simple bar plot using input-hidden weight and hidden-output weight

Hi Ikechukwu Ejim, You could have a look at gramm(complete data visualization toolbox). Hope it helps!

How do i determine and plot rerlative importance in simple bar plot using input-hidden weight and hidden-output weight

Hi Ikechukwu Ejim, You could have a look at gramm(complete data visualization toolbox). Hope it helps!

1 year ago | 0

Answered

How to compile gtcc.m?!

Hi Jack, Code generation does not support assigning an object of a value class into a nontunable property. It seems like the ‘W...

How to compile gtcc.m?!

Hi Jack, Code generation does not support assigning an object of a value class into a nontunable property. It seems like the ‘W...

1 year ago | 0

Answered

Throughput measurement for Simulink model

Hi, You could have a look at the documentation of previous releases at this link. You can have a look at these examples in R...

Throughput measurement for Simulink model

Hi, You could have a look at the documentation of previous releases at this link. You can have a look at these examples in R...

1 year ago | 0

Answered

Do you have the two-phase properties table amonia similar to the table for R134a

Hi Craig, If you have REFPROP software by the National Institute of Standards and Technology installed, you can automatically ...

Do you have the two-phase properties table amonia similar to the table for R134a

Hi Craig, If you have REFPROP software by the National Institute of Standards and Technology installed, you can automatically ...

1 year ago | 0

Answered

How I should make a loop for coefvct's roots?

Hi Nima, It is not always necessary to create a coefficient vector and use roots function to solve a polynomial equation. You ...

How I should make a loop for coefvct's roots?

Hi Nima, It is not always necessary to create a coefficient vector and use roots function to solve a polynomial equation. You ...

1 year ago | 1

| accepted

Answered

Obtaining logical volume array from cartesian coordinates of volumetric mesh

Hi OzzWal, You could change data at specified cartesian coordinates by creating point cloud object from the original data and ...

Obtaining logical volume array from cartesian coordinates of volumetric mesh

Hi OzzWal, You could change data at specified cartesian coordinates by creating point cloud object from the original data and ...

1 year ago | 0

Answered

Storing live data of sensors into arrays

Hi Lavanya, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/437548-need-help-with-storing...

Storing live data of sensors into arrays

Hi Lavanya, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/437548-need-help-with-storing...

1 year ago | 0

Answered

How to deembed the Sparam?

Hi, Have a look at this example showing extraction and de-embedding of S-parameters data from a file using "sparameters" and "d...

How to deembed the Sparam?

Hi, Have a look at this example showing extraction and de-embedding of S-parameters data from a file using "sparameters" and "d...

1 year ago | 0

| accepted

Answered

Is there a way to check some processing flags for complex algorithms with multiple calculations if overflow, underflow occurred in processing ?

Hi Firan, You could use "dbstop" function to pause execution at the line that meets a specified condition. The below line of co...

Is there a way to check some processing flags for complex algorithms with multiple calculations if overflow, underflow occurred in processing ?

Hi Firan, You could use "dbstop" function to pause execution at the line that meets a specified condition. The below line of co...

1 year ago | 1

| accepted

Answered

How to calculate Signal to noise Ratio of a signal during simulation (in simulink and not with matlab function snr) while i dont have seperated noise from the signal?

Hi, Signal-to-noise Ratio(SNR) of a signal can be measured during simulation using MER Measurement block. Have a look at this d...

How to calculate Signal to noise Ratio of a signal during simulation (in simulink and not with matlab function snr) while i dont have seperated noise from the signal?

Hi, Signal-to-noise Ratio(SNR) of a signal can be measured during simulation using MER Measurement block. Have a look at this d...

1 year ago | 0

Answered

Create a local constant variable that is randomly generated in Simscape Component Code?

Hi Isaac, You could initialise a local variable('var' in your case) as a Model Callback which is executed at specified action p...

Create a local constant variable that is randomly generated in Simscape Component Code?

Hi Isaac, You could initialise a local variable('var' in your case) as a Model Callback which is executed at specified action p...

1 year ago | 0

Answered

Simscape Li-ion Battery

Hi, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/446027-can-simscape-battery-model-i-e-t...

Simscape Li-ion Battery

Hi, Have a look at a similar question : https://www.mathworks.com/matlabcentral/answers/446027-can-simscape-battery-model-i-e-t...

1 year ago | 0

Answered

How to store continuous serial data from COM port

Hi, In order to receive a continuous stream of data you can set the ‘IsContinuous’ property of the serial object (‘s’ in your c...

How to store continuous serial data from COM port

Hi, In order to receive a continuous stream of data you can set the ‘IsContinuous’ property of the serial object (‘s’ in your c...

1 year ago | 0

Answered

Calculus and Plot of a simple polar stereographic projection

Hi, Have a look at this MATLAB function: https://www.mathworks.com/help/map/stereo.html?searchHighlight=stereo&s_tid=doc_srch...

Calculus and Plot of a simple polar stereographic projection

Hi, Have a look at this MATLAB function: https://www.mathworks.com/help/map/stereo.html?searchHighlight=stereo&s_tid=doc_srch...

1 year ago | 0

Answered

Button press to continue iteration in appdesigner

Hi, I found an answer to a similar question. Have a look at this link https://www.mathworks.com/matlabcentral/answers/317916-ho...

Button press to continue iteration in appdesigner

Hi, I found an answer to a similar question. Have a look at this link https://www.mathworks.com/matlabcentral/answers/317916-ho...

1 year ago | 0

Answered

Add Customized Elements in Component Library in Matlab App Designer

Hi, This can be done by creating a custom ActiveX control, or by downloading and using an existing one. You can insert an Activ...

Add Customized Elements in Component Library in Matlab App Designer

Hi, This can be done by creating a custom ActiveX control, or by downloading and using an existing one. You can insert an Activ...

1 year ago | 1

| accepted

Answered

How to create GRU RNN in MATLAB

Hi, You could implement RNN with Gated Recurrent Unit (GRU) by using either LSTM or bi-LSTM layers. Also have a look at this li...

How to create GRU RNN in MATLAB

Hi, You could implement RNN with Gated Recurrent Unit (GRU) by using either LSTM or bi-LSTM layers. Also have a look at this li...

1 year ago | 0

Answered

Dependence of resistance on slip in an asynchronous motor.

Hi, For asynchronous machines, at each steady-state operation, the rotor resistance depends on the slip, i.e., Rr'/s, where Rr'...

Dependence of resistance on slip in an asynchronous motor.

Hi, For asynchronous machines, at each steady-state operation, the rotor resistance depends on the slip, i.e., Rr'/s, where Rr'...

1 year ago | 1