MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
How to add exponential to a simulink model?
hardikisharma2 - 2020-11-17

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, bu...

help with fzero function
Sophia - 2020-11-17

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

how to add matrices to global matrix
zabaqer - 2020-11-16

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

How to enable content preview for all subsystems programmatically?
Santiago - 2020-11-05

my  simulink model is upgraded from a previous version, in which there was no Content Preview option at that time. So I want to know how I can progra...

Plotting graph using scope
Mackenzie - 2020-11-05

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

Configure Simulink to ask for new model version when saving the model
Peyton - 2020-11-05

Currently, Simulink can be configured to prompt for a comment each time a model is saved. I do not want it to increment the version number on its own,...

Output argument 'x' is not assigned on some execution paths.
Serenityruby - 2020-11-05

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

Set simulation time and fixed step size for a Simulink model from the command line
Arianna - 2020-11-05

Hi! I have a simulink model that I need to simulate over a few different durations and with a fixed (but different) sampling time. So what I want to d...

Why do I get "Array indices must be positive integers or logical values" error when using "angle" function?
Rebekah - 2020-11-04

Why do I get "Array indices must be positive integers or logical values" error when using "angle" function?     >> z = 22+i >> a = angle(z) >> z = 2...

How to select non-sequential values in an array?
Quincy - 2020-11-04

I am trying to select the first, fifth, and ninth values of a 12x1 matrix. I am aware of how to reference sequential values like a(1:5,1) for the firs...

Get a Free Consultation or a Sample Assignment Review!