Feeds
已解决
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 years 前
已解决
Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...
9 years 前
已解决
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 years 前
已解决
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 years 前
已回答
Convert Mathlab to c/c++ convert issue
I think it is because a and b are undefined. Usually you call it like for example sum_of_two_numbers(4,7). Just like the C code:...
Convert Mathlab to c/c++ convert issue
I think it is because a and b are undefined. Usually you call it like for example sum_of_two_numbers(4,7). Just like the C code:...
11 years 前 | 0
提问
How can I model an air-core transformer in Simulink and also remove the second winding with a switch?
I want to model an air-core transformer in Simulink in which I can also "switch off and on"the secondary winding so that only th...
11 years 前 | 1 个回答 | 0