photo

GD


Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Solved


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 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

8 years ago

Solved


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 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

8 years ago

Solved


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 years ago

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 3 answers | 0

3

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer