# GD

Active since 2015

Followers: 0   Following: 0

All

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

meer dan 7 jaar ago

Solved

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

meer dan 7 jaar 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...

meer dan 7 jaar ago

Solved

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

meer dan 7 jaar 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:...

meer dan 7 jaar 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 ...

bijna 8 jaar ago | 2 answers | 0

### 2

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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?

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

bijna 9 jaar ago | 3 answers | 0

### 3

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

bijna 9 jaar ago | 0 answers | 0

### 0

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

bijna 9 jaar ago | 1 answer | 0

### 1

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

bijna 9 jaar ago | 1 answer | 0

### 1

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

bijna 9 jaar ago | 0 answers | 0

### 0

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

bijna 9 jaar ago | 1 answer | 0

### 1

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

bijna 9 jaar ago | 1 answer | 0

### 1

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

ongeveer 9 jaar ago | 1 answer | 0