Ryan Takatsuka
2017년부터 활동
Followers: 0 Following: 0
Feeds
질문
Spectral analysis in MATLAB script
I am trying to minimize the spectral leakage in the frequency analysis of a signal to obtain accurate magnitudes of all the freq...
거의 6년 전 | 답변 수: 2 | 1
2
답변질문
Filtered signal's frequency response is not correct
I am trying to pass a pure noise signal through a filter, but the frequency response is not what I expected. I have attached th...
거의 6년 전 | 답변 수: 0 | 0
0
답변답변 있음
Log equation log(x) not plotting correctly
y_3 contains complex numbers with real and imaginary components, and the plot() function only plots the real component of the co...
Log equation log(x) not plotting correctly
y_3 contains complex numbers with real and imaginary components, and the plot() function only plots the real component of the co...
대략 6년 전 | 1
질문
Element-wise product in Simulink
I would like to perform an element-wise multiplication (Hadamard product) between 2 matrices in Simulink. The "multiply" block ...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Problem having isoutlier detecting anything
The outlier detection generally works best on single data point outliers (not multiple in a row). Your data has a large amount ...
Problem having isoutlier detecting anything
The outlier detection generally works best on single data point outliers (not multiple in a row). Your data has a large amount ...
6년 초과 전 | 0
답변 있음
measuring force in a spring dashpot model
The _Ideal Force Sensor_ should be in series with the mechanical system. See the attached example.
measuring force in a spring dashpot model
The _Ideal Force Sensor_ should be in series with the mechanical system. See the attached example.
6년 초과 전 | 1
| 수락됨
답변 있음
How can I control the pulse generator percentage with variable?
You can create a custom PWM subsystem where the pulse percent is the input. See attached example.
How can I control the pulse generator percentage with variable?
You can create a custom PWM subsystem where the pulse percent is the input. See attached example.
6년 초과 전 | 0
| 수락됨
답변 있음
How can I measure percentage of pulse signal
You are probably better off filtering the PWM signal to find the interval percentage. See the attached example.
How can I measure percentage of pulse signal
You are probably better off filtering the PWM signal to find the interval percentage. See the attached example.
6년 초과 전 | 0
| 수락됨
답변 있음
How to have a plot3 vector and sphere on same figure?
Try something like this: figure(1) %creating animation window sphere % creating sphere for visualization alph...
How to have a plot3 vector and sphere on same figure?
Try something like this: figure(1) %creating animation window sphere % creating sphere for visualization alph...
6년 초과 전 | 0
| 수락됨
답변 있음
PID to control solenoid valves on simulink?
Typically, solenoid valves only operate as binary valves (either on or off with no in between). From what you are describing it...
PID to control solenoid valves on simulink?
Typically, solenoid valves only operate as binary valves (either on or off with no in between). From what you are describing it...
6년 초과 전 | 0
답변 있음
update parameter during simulink simulation
If you use external gains for the PID block, you can easily modify them during the simulation. Because you want the PID to swit...
update parameter during simulink simulation
If you use external gains for the PID block, you can easily modify them during the simulation. Because you want the PID to swit...
6년 초과 전 | 2
| 수락됨
답변 있음
Is it possible draw left y-axis with red color and the right y-axis with blue color?
Yes it is. Here is an example of a plot with different y axis colors: t = linspace(0,1,1000); a = sin(2*pi*t); b = s...
Is it possible draw left y-axis with red color and the right y-axis with blue color?
Yes it is. Here is an example of a plot with different y axis colors: t = linspace(0,1,1000); a = sin(2*pi*t); b = s...
6년 초과 전 | 1
| 수락됨
답변 있음
After importing data from excel and plotting them, I need to subtract the noise and extract only the five peaks, and finally to find the area under the peaks? Can anyone tell me what function to use?
You can probably apply a highpass filter to the data to isolate the peaks. This should remove the low frequency/offset of the p...
After importing data from excel and plotting them, I need to subtract the noise and extract only the five peaks, and finally to find the area under the peaks? Can anyone tell me what function to use?
You can probably apply a highpass filter to the data to isolate the peaks. This should remove the low frequency/offset of the p...
6년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Prime Product
My professor has given a sequence of N numbers as a1, a2, ..., aN and asked me to find the smallest possible value of ai * aj su...
6년 초과 전
문제를 풀었습니다
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
6년 초과 전
문제를 풀었습니다
"Cody" * 5 == "CodyCodyCodyCodyCody"
*Alice*: What? *"Cody" * 5 == "CodyCodyCodyCodyCody"*? You've gotta be kidding me! *Bob*: No, I am serious! Python supports...
6년 초과 전
문제를 풀었습니다
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
6년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
6년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
6년 초과 전
문제를 풀었습니다
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
6년 초과 전
문제를 풀었습니다
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 ...
6년 초과 전
문제를 풀었습니다
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...
6년 초과 전
문제를 풀었습니다
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:...
6년 초과 전
답변 있음
Saving figure data statistics without using the GUI?
You can create a function to collect this data for you. To create a structure with the same format as Tools -> Data Statistics ...
Saving figure data statistics without using the GUI?
You can create a function to collect this data for you. To create a structure with the same format as Tools -> Data Statistics ...
6년 초과 전 | 0
| 수락됨
질문
Simulink Zoom FFT - error in native MATLAB example (dspzoomfft)
I am trying to understand the Zoom FFT algorithm, and am playing around with the native MATLAB example for Simulink (opened by t...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Improvements for rapid Simscape changes with discrete valves
I have a Simscape model that consists of a few valves and constant volume chambers. Every time a valve is opened, the instantan...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Simscape gas pipe element causes initialization errors
I have a Simscape model with a long thin (an inner diameter of 0.030") tube in the middle. When the tube is shorter (less than ...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
3/2 pneumatic valve model
I am trying to design a 3/2 pneumatic valve (3 ports and 2 positions). The valve has a supply port, common port, and an exhaust...
7년 초과 전 | 답변 수: 1 | 0