統計
All
Feeds
解決済み
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...
約6年 前
解決済み
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]
約6年 前
解決済み
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
約6年 前
解決済み
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]; ...
約6年 前
解決済み
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年 前
質問
Variable size output in level-2 matlab S-functions
Hello, I am trying to write a level-2 matlab S-function with a variable sized output. However, unlike official examples and d...
8年弱 前 | 0 件の回答 | 2
0
回答質問
Use object output from extrinsic functions within embedded matlab function in simulink
Hi, I am facing a problem similar to this <https://stackoverflow.com/questions/5636168/simulink-how-can-i-use-object-instances-...
8年弱 前 | 0 件の回答 | 0
0
回答質問
Recover Simulink Model after Crash
Hi, I hope someone can help me out with this issue # I was working on a Simulink file at location (C:\abc\pqr\sim_model.mdl)...
8年弱 前 | 0 件の回答 | 0

