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 167 of 208 Ask a Question
I want to find the determinant for 5.5 matrix
Liana_s01 · Dec 24, 2020 · matlab , matrix , simulink

I need to find the determinant in symbol s1 to s10 (without values). Here the matrix M: M=[0 -s1 -s2 -s3 -s4; s1 0 -s5 -s6 -s4; s2 s5 0 -s8 -s9; s3 s6 s8 0 -s10; s4 s7 s9 s10 0];…

find matching rows in matrices
Bexley · Dec 24, 2020 · matlab , matrix , simulink

I want to find which rows in two matrices that are matching. If I for example have A =   1 2 4 5 9 7 1 2 6 5 and   B = 2 5 1 2 9 2 1 2 I would like a result like index_A=[1 4] in…

What is the Fastest manner to match rows of 2 matrices?
Ottosaul · Dec 24, 2020 · matlab , matrix , simulink

I have 2 large matrices (S1, S2) with matching rows I used    [~,index_A,index_B] = intersect( S1',S2', 'rows'); But it is very time consuming. Is there a faster way to do this?…

How can I make function expression automatically?
Damian · Dec 24, 2020 · matlab , functions

Hello Matlab experts,   I have a 5x1 symbolic named "Eq" with following expressions in it, with 5 unknown variables, T2, T3, T4, T5, T6. - 0.5*T2^2 - 0.167*T2*T3 - 32.0*T2 - 0.083…

What's the difference between imagesc and imshow?
Timothy · Dec 24, 2020 · matlab , image processing,

Hi, When I want to display an image in figure screen, both works the same way. I was wondering what's the difference between both imagesc and imshow commands?…

discrete time optimization with non-linear constraints
Raelynn · Dec 22, 2020 · matlab , control system , non-linear constraints

Hello, I have an optimization problem to solve with non-linear constraints. It is a control theory based discrete time model (which i feel fules out using fmincon) over a time hori…

Is it possible to modify the matrices in a genss ?
Brianna · Dec 22, 2020 · matlab , control system , matrices in a genss

Hello everybody! Do you know if it's possible to change one of the matrices componing a genss (not only the tunable parameter) ? For example the following system:   a = realp('a',…

Get a Free Consultation or a Sample Assignment Review!