Community Profile

photo

Piet


Active since 2014

Followers: 0   Following: 0

Message

Statistics

All
  • First Answer
  • Solver

View badges

Feeds

View by

Solved


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 ...

8 years ago

Solved


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 ...

8 years ago

Solved


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 ...

8 years ago

Solved


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...

8 years ago

Answered
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:...

10 years ago | 0

Question


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...

10 years ago | 1 answer | 0

1

answer