photo

Richard Zappulla


.

Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Promoter
  • Solver

View badges

Feeds

View by

Solved


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

7 years ago

Answered
Simulink real-time compatible cards
Off-The-Shelf compatibility can be found here: <https://www.mathworks.com/programs/products/simulink-real-time/supported/hardwar...

7 years ago | 0

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

7 years ago | 0

Solved


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

7 years ago

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 0

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

7 years ago | 0

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

7 years ago

Solved


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

7 years ago

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

8 years ago | 1

| accepted

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

8 years ago | 3

| accepted

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

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Solved


Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.

8 years ago

Solved


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

8 years ago

Solved


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

8 years ago

Load more