Beantwortet
Scatter3, insert dashed line downwards, and sideways
Here I assumed x, y, z are vectors of length "len". To draw a line joining each scatter point to the horizontal plane use: ...

fast 10 Jahre vor | 0

| akzeptiert

Beantwortet
Find a pair of elements in a 3d matrix
Note: if it's 512*512*2 (three dimensional), it's called tensor, not matrix. A way to do what you require would be to first d...

fast 10 Jahre vor | 0

Gelöst


Check if a rotated array was originally sorted
Suppose a sorted array is rotated at some pivot unknown to you. For example, |[0 1 2 4 5 6 7]| might become |[5 6 7 0 1 2 4]|. ...

fast 10 Jahre vor

Beantwortet
Need help putting multiple values in Legends
Here I assumed, as it seems from your question, that T is a 1xm vector and that Nl is a 6xm matrix. First I'd define an empty...

fast 10 Jahre vor | 0

Beantwortet
How to arrange local stiffness matrix to global stiffness matrix
I strongly suspect there is something wrong with your scheme in the image attached. The stiffness matrix #2 (marked in red), fo...

fast 10 Jahre vor | 4

Gelöst


Polynomial evaluation
Compute the value of a polynomial of degree n with coeffcients in vector a, at value x. p(x)=a(1)+a(2)x+a(3)x^2+...+a(n+1)x...

fast 10 Jahre vor

Beantwortet
how to find values of X and Y that satisfy condition Z(X,Y)>a
Is it something like this you're looking for? function [vec_pairs, num_pairs] = find_greater(X, Y, a) len_X=length(X); ...

fast 10 Jahre vor | 0

Beantwortet
How to solve a Riccati Control (differential) Equation?
You don't need to solve a differential equation. "Steady-state" means the solution (here, the matrix *S*) remains _constant_, wh...

fast 10 Jahre vor | 0

Gelöst


Simpsons's rule (but not Homer Simpson)
I wonder what Homer Simpson would have thought of Simpson's rule? Somehow I doubt his thoughts would have included the phrase Ne...

fast 10 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

fast 10 Jahre vor

Gelöst


Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...

etwa 10 Jahre vor

Gelöst


Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...

etwa 10 Jahre vor

Gelöst


Compute the step response of a DC motor
Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...

etwa 10 Jahre vor

Gelöst


Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

etwa 10 Jahre vor

Gelöst


Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

etwa 10 Jahre vor

Gelöst


Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

etwa 10 Jahre vor

Gelöst


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

etwa 10 Jahre vor

Gelöst


Make a half wave rectifier
Produce a signal that outputs the given sine wave source when it is greater than zero and outputs zero when it is less than zero...

etwa 10 Jahre vor

Gelöst


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

etwa 10 Jahre vor

Gelöst


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

etwa 10 Jahre vor

Gelöst


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

etwa 10 Jahre vor

Gelöst


Add a block to a model
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-block-eqn.png>> In this case, the slope of...

etwa 10 Jahre vor

Gelöst


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

etwa 10 Jahre vor

Gelöst


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

etwa 10 Jahre vor

Gelöst


Free passes for everyone!
_Simply return the name of the coolest numerical computation software ever_ *Extra reward* (get a _freepass_): As an addit...

etwa 10 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

etwa 10 Jahre vor

Gelöst


Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

etwa 10 Jahre vor

Gelöst


Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

etwa 10 Jahre vor

Gelöst


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

etwa 10 Jahre vor

Gelöst


Find a Pythagorean triple
Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

etwa 10 Jahre vor

Mehr laden