Lightonz
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
約4年 前
解決済み
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...
約4年 前
解決済み
Draw a 'X'!
Given n as input Draw a 'X' in a n-by-n matrix. example: n=3 y=[1 0 1 0 1 0 1 0 1] n=4 y=[1 0 0...
約4年 前
解決済み
Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...
約4年 前
解決済み
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 ...
約4年 前
解決済み
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...
約4年 前
解決済み
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:...
約4年 前
回答済み
How to change axes linewidth?
Get the handle of the Axes and change all you want: H=gca; H.LineWidth=1; %change to the desired value
How to change axes linewidth?
Get the handle of the Axes and change all you want: H=gca; H.LineWidth=1; %change to the desired value
4年以上 前 | 2
質問
Mex and digraph in C++
does anybody now how to create digraph and point an mxArray in C++ to it? In the doc nothing was stated about graphs, digraphs ...
6年弱 前 | 2 件の回答 | 0