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 178 of 208 Ask a Question
How to check if two transfer functions are the same?
Sebastian · Nov 18, 2020 · matlab , control system ,

I want to verify that two transfer functions are equal.   For example:   Kc = 0.4262; Ti=1.35; C1 = pidstd(Kc,Ti); tf(C1) s = tf('s'); Gc1 = Kc*(1+1/(Ti*s)) assert(tf(C1) == Gc1)…

How to add exponential to a simulink model?
hardikisharma2 · Nov 17, 2020 · matlab , simulink ,

I have searched everywhere but I cannot find the answer. Let's say I have an equation of x^(2/3). How can I put the ^(2/3)? That is an exponential, but all I can find about exponen…

help with fzero function
Sophia · Nov 17, 2020 · matlab , matlabsolutions

3*(1-f1/alphax)*A1+(f1/3*alphax)*(A2+2*A3/A4)=0 with A1 = (sigma_e - sigma_m)/(2*sigma_e - sigma_m); A2 = (sigma_e - sigma33_com)/(sigma_e + 0.14*(d/L)*(sigma33_com- sigma_e)); A3 …

how to add matrices to global matrix
zabaqer · Nov 16, 2020 · numerical analysis

I have a problem with matrices in this code clc clear all dbstop if error % Initial data: TubeLength =2.38e-9; %%TubeLength = input ('TubeLength'); %m TubeDiameter=1.62e-9; %%%Tube…

Plotting graph using scope
Mackenzie · Nov 5, 2020 · simulink , matlab , simulation

I solved 2 degree dependant differential equations in  simulink and I got 2 equations as a funtion of time say X(t) and Y(t). Scope is plotting graph between x vs t and y vs t. Bu…

Output argument 'x' is not assigned on some execution paths.
Serenityruby · Nov 5, 2020 · simulink , matlab , simulation

I wrote the following code in the Matlab  function in simulink and the error "Outut argument 'x' is not assigned on some execution paths" occurred. I don't know why the code not w…

Get a Free Consultation or a Sample Assignment Review!