Feeds
답변 있음
Getting multiple outputs from a function?
Hi Isa, You can use switch statements to control your order and for each order you can have for loops to calculate for each sfn...
Getting multiple outputs from a function?
Hi Isa, You can use switch statements to control your order and for each order you can have for loops to calculate for each sfn...
5년 초과 전 | 0
문제를 풀었습니다
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...
5년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
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년 초과 전
문제를 풀었습니다
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년 초과 전
답변 있음
how can I turn my .m file into C?
Hi! Matlab coder only converts function files to .c I suggest you to remove all your input functions like scanf() and build y...
how can I turn my .m file into C?
Hi! Matlab coder only converts function files to .c I suggest you to remove all your input functions like scanf() and build y...
6년 초과 전 | 0
| 수락됨
질문
Floating point to Fixed point
Hey guys, I have an user-defined MATLAB code (floating point) block in my simulink model. The MATLAB code contains loops, a fun...
6년 초과 전 | 답변 수: 1 | 0