Feeds
문제를 풀었습니다
Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7
7년 초과 전
답변 있음
Simulink real-time compatible cards
Off-The-Shelf compatibility can be found here: <https://www.mathworks.com/programs/products/simulink-real-time/supported/hardwar...
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년 초과 전 | 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...
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년 초과 전 | 0
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
7년 초과 전
답변 있음
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...
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년 초과 전 | 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 ...
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년 초과 전 | 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 ...
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년 초과 전 | 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...
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년 초과 전 | 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...
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년 초과 전 | 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...
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년 초과 전 | 0
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
답변 있음
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...
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년 전 | 1
| 수락됨
답변 있음
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.... ...
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년 전 | 3
| 수락됨
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
Square Diagonal
If n is the given number, then make a diagonal matrix of size 2*2 with the square of that number.
거의 8년 전
문제를 풀었습니다
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년 전
문제를 풀었습니다
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년 전