Ask an expert. Trust the answer.
Your academic and career questions answered
by verified experts.
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...
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...
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,...
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...
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? >> z = 22+i >> a = angle(z) >> z = 2...
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...
%How would i form an array if i had 5 inputs like this of random number % displayed at the end. clc,clear x = 12; num = 0; for index = 1:5 y = input('...
If I have A=[1,2,3,4,5] B=[6,7,8,9,10] C=[1,2,3,4,5] If there a way to call out specific position at each matrix so that: Sum first value of A and fir...
I have the arrays z_index = [2 3] and y_index = [4 1 5]. They store the indices of a main array x. z(z_index) = [1 3] and y(y_index) = [-2 4 2]. How...