문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


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년 전

문제를 풀었습니다


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

거의 9년 전

문제를 풀었습니다


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

거의 9년 전

질문


getting MISRA C:2012 Rule 10.1 warning in model advisor with bitwise operation in stateflow
Hi, I am using R2015b with embedded coder, and I am getting Model advisor warning on MISRA C:2012 saying bitwise operations on ...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Embedded Coder / Simulink & Stateflow : how to force inputs to be passed by reference?
Is there way to reuse the same memory location of the input for the outputs - essentially passed by reference? The use case I h...

거의 10년 전 | 답변 수: 1 | 0

1

답변