統計
All
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

