Richard Zappulla
.
Followers: 0 Following: 0
Statistica
RANK
2.236
of 295.448
REPUTAZIONE
28
CONTRIBUTI
1 Domanda
14 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
4
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7
oltre 7 anni fa
Simulink real-time compatible cards
Off-The-Shelf compatibility can be found here: <https://www.mathworks.com/programs/products/simulink-real-time/supported/hardwar...
oltre 7 anni fa | 0
How to load matlab code to simulink
You can use the "From File" block in the Simulink/Sources Group. Note, this will incrementally read from the MAT file. This also...
oltre 7 anni fa | 0
Risolto
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
oltre 7 anni fa
Enabling a subsystem in a multi rate Simulink model at specific time or with a delay
To me, it sounds like you are trying to use the enabled sub-systems and pulse generators as a "scheduler" of sorts. I am not su...
oltre 7 anni fa | 0
Why function gradmag isn´t working for me?
|gradmag| is not standard MATLAB function. If downloaded it from the file exchange or GITHUB, make sure the folder in which it ...
oltre 7 anni fa | 0
Encoder position derivative Simulink
As for saving the data, I would suggest using a "To File" block (under the "Sinks" folder). In the image below, I used a vector ...
oltre 7 anni fa | 0
Matlab function input define
In my opinion, I would look at passing function handles into your function for |X|, |Y|, or |Z|. The workflow would look someth...
oltre 7 anni fa | 0
Anyone know where this simulink block comes from? Not in my library
The block you have there is a "To Workspace" block which was renamed "Input Voltage". It is located in the "Simulink\Sinks" fold...
oltre 7 anni fa | 0
Time to frequency domain
Hi, For converting the data to the frequency domain, I would suggest using the |fft()| function. The examples from the MATLAB...
oltre 7 anni fa | 0
Risolto
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
oltre 7 anni fa
Risolto
Is the Point in a Circle?
Check whether a point or multiple points is/are in a circle centered at point (x0, y0) with radius r. Points = [x, y]; c...
oltre 7 anni fa
How do I set a flag on Simulink?
You can use a relay block in the Discontinuities folder. You input your signal, |f|, into the block and set the |Switch On Point...
quasi 8 anni fa | 1
| accettato
How do I create a function and run it.
Every function in MATLAB uses the following structure: function [ouput_vars] = foo(input,vars) % % Code goes here.... ...
quasi 8 anni fa | 3
| accettato
Risolto
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:...
quasi 8 anni fa
Risolto
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....
quasi 8 anni fa
Risolto
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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 ...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa
Risolto
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
quasi 8 anni fa
Risolto
Y=X
Given an input variable x, output a variable y that is equal in value to x. Example: Input x = 1 Output y is 1 Inp...
quasi 8 anni fa
Risolto
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...
quasi 8 anni fa