MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 95 of 208 Ask a Question
Adding two matrixes with different row numbers.
Stephen · Oct 11, 2021 · matlab , matrix , matrix manipulation , matrix array ,sum

Hi Matlabsolutions community!   I have a matrix A(mxn) and a matrix B(lxn) such as: A = [1,2,3,4,5,6,7,8,9,10; 10,11,12,13,14,15,16,17,18,19; 19,20,21,22,23,24,25,26,27,28]; B = […

How do I freeze a Simulation in Simulink, close MATLAB
sanjana · Oct 11, 2021 · operating , point , simulink , matlab

I would like to run a simulation in Simulink following the below steps:   1. Run the simulation from time 0 to 10s   2. Stop the simulation at time 10s and save all the states …

Sum subarrays of a Matrix.
Rosado · Oct 11, 2021 · matlab , matrix , matrix manipulation , matrix array , arrays

Hi Mathworks community! Could someone give me a hand?   I'm having trouble trying to sum parts of the arrays of a matrix. Let's say I have the following matrix A of r rows and c c…

How do I build my model that contains an automatically
SLPRJ · Oct 9, 2021 · 1-4jec1p , matlab , solutions

How do I build my model that contains an automatically generated S-function, if I do not have the source code? My model contains an S-function block which was generated by Simulink…

Make specific columns of a matrix zero.
García Rosado · Oct 9, 2021 · matlab , arrays , matrix manipulation , matrix

Hi Mathworks community!   So I have a matrix A such as:   A = [1,2,3,4,5,6,7,8,9; 5,8,6,44,8,6,8,7,3; 9,8,7,6,5,4,3,2,1] And an array b that specifies the columns I' DON´T want …

How to set tunable struct parameters when simulating from
Karan_singh · Oct 9, 2021 · rapid , accelerator , tunable , quick , simulation , build

How to set tunable struct parameters when simulating from the command line in Rapid Accelerator mode   I would like to use a struct as a tunable parameter when running in Rapid Ac…

Get a Free Consultation or a Sample Assignment Review!