Feeds
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
대략 8년 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
대략 8년 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
대략 8년 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
대략 8년 전
질문
Sine wave integration doubt?
I am integrating a sine wave having amplitude one, but the output that I get from intergrator is -cos (expected), but with some ...
8년 초과 전 | 답변 수: 2 | 0
2
답변질문
Simulink models auto simulation?
I have a simulink model. It has two inputs in form of constant blocks. And I have a set of test cases where I need to simulate t...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
I have a complex ODE, why do the results vary dpending on the solver?
I have a complex ODE, i use fixed step solver to solve this simulink model. Once I used ODE8 and then later i used ODE14x, then ...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Speeding up Simulink simlation time.
I have a very complex ODE model of a car. The simulation time required is really very high. How could i speed up the simulation?...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Simulink block to equation conversion?
I was wondering if it is possible to convert complex block diagram representing ODE to actual system of equations?
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
Is it possible to link Simulink simulations results to 3d animation model so that experiment results can be visualised?
I am trying to build a car model with 10DOF, and later I want to simulate some driving conditions. Presently i view the performa...
대략 9년 전 | 답변 수: 1 | 0
1
답변질문
How to use simulink test cases option?
I have a simulink model which has an imput from signal generator block. I have many test cases designed for this model. Presentl...
대략 9년 전 | 답변 수: 0 | 0
0
답변질문
How to access time step in simulink model?
I want to make a Matlab function in simulink model. In this function I want to calculate relative acceleration between two cars,...
9년 초과 전 | 답변 수: 3 | 0
3
답변질문
How to calculate new velocity from present velocity, refrence deceleration and time step?
I want to decelerate a car based on deceleration of another refrence car. I have a simulink block which has following inputs: ow...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to find slope of an curve?
I have an input signal, a falling cuve, I want to find out the slope of this curve, but not at every instant(thats why I dont wa...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Error using generic engine block.
I use generic engine block from simscape, but sometimes I get an error saying engine speed exceeded maximum limit. The only inpu...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Determining the transfer function of black box?
I have a model of a car with two inputs, namely Throttle and Brakes, and one output, which is car velocity.I dont know the mathe...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
What kind of a solver do I need to select for solving Simscape models combined with normal simulink models?
Presently I am using ode23t, this seems to work, but other solvers give me an error. Whats the criteria for selecting solvers, d...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How do I avoid an Algeraic loop?
I have a simulink model of a car, I need to control the speed of car using PID, so I feedback the car speed to the controller. B...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to divide by zero during transition from positive to negative value?
I have a simulink block to calculate the stopping distance of the vehicle d= v²/(2(mu)(g)), as you can see i have division by 'm...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
The simulink simulation slows down when I use a switch, it does not give any error but it stays at .5 second indifinitely!
I am trying to select one output from two blocks depending on certain conditions, and then forward that signal as input to anoth...
거의 10년 전 | 답변 수: 1 | 0