Feeds
질문
Simulink model for DC shunt motor does not give correct output despite no errors.
The attached Simulink .mdl file (MATLAB 2017) contains a model for DC shunt motor. The DC motor block was cut and pasted from MA...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
How do we make sure that the magnitude response of W(e^jw) is being calculated at the same set of frequencies in W’ by the command 'freqz' at every iteration?
For the equation in the attached file, FB(e^jw) is the Fourier transform of the feedback filter fb and W(e^jw) is the Fourier...
9년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
9년 초과 전
문제를 풀었습니다
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
9년 초과 전
문제를 풀었습니다
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
9년 초과 전
문제를 풀었습니다
Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...
9년 초과 전
문제를 풀었습니다
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
9년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
9년 초과 전
문제를 풀었습니다
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
9년 초과 전
문제를 풀었습니다
Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...
9년 초과 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
9년 초과 전
문제를 풀었습니다
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 ...
9년 초과 전
문제를 풀었습니다
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...
9년 초과 전
문제를 풀었습니다
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:...
9년 초과 전
질문
how can i integrate an array with respect to frequency w (omega)? the command "integral" requires function 'fun' to be declared as function of omega. how can i do this?
FB and W are frequency responses of two FIR filters fb and w. This is essentially what I am doing: numer1=(abs(FBW-W)).^2; f...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
i have declared an FIR filter as fb as given below. Now, i want to find its Fourier transform as FB(jw) with respect to frequency w (omega). How can i do that? I dont think its the same as taking DFT.
fb=fir1(50,[0.2500 0.8750]); %FIR filter fb
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
I have a sound signal x(n). i want to make a random signal r(n) of the same length but half the magnitude of x(n). How do i make r(n) have half the magnitude of x(n)?
I have a sound signal x(n). i want to make a random signal r(n) of the same length but half the magnitude of x(n). How do i make...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Hi. I am trying to create a loop for adaptive feedback cancellation. While the code runs without an error, i am not getting any output. Can anyone please help correct my mistake? Thank you in advance :)
[x,f,nbit]=wavread('tapestry.wav'); fb=zeros(length(x),1); %feedback signal, output of original...
9년 초과 전 | 답변 수: 0 | 0

