統計
All
Feeds
送信済み
Concatenate identical structures
Concatenate field data from two MATLAB structures with identical fields.
約3年 前 | ダウンロード 3 件 |
質問
Accessing subclass methods from abstract superclass
Hi all, Longtime listener, first time caller. I'm attempting to augment an abstract superclass with a method that calls (concr...
約4年 前 | 4 件の回答 | 1
4
回答回答済み
Compare and find multiple matching strings
The following may help to get you started: rawInpStr = {'cat','dog','whale'}; mySearchTerms = {'cat','dog','whale','came...
Compare and find multiple matching strings
The following may help to get you started: rawInpStr = {'cat','dog','whale'}; mySearchTerms = {'cat','dog','whale','came...
7年弱 前 | 0
回答済み
How to check the accessibility between two points in a matrix?
I would recommend implementing a simple region growing algorithm (google it), where your seed points are 11 and 22. You can kee...
How to check the accessibility between two points in a matrix?
I would recommend implementing a simple region growing algorithm (google it), where your seed points are 11 and 22. You can kee...
7年弱 前 | 0
回答済み
How to read the pixel value
You could use the following: ind = 1:size(A,1); A(:,3) = arrayfun(@(x) I(A(x,1),A(x,2)), ind)';
How to read the pixel value
You could use the following: ind = 1:size(A,1); A(:,3) = arrayfun(@(x) I(A(x,1),A(x,2)), ind)';
7年弱 前 | 1
| 採用済み
解決済み
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
8年以上 前
解決済み
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年以上 前
解決済み
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年以上 前
解決済み
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:...
8年以上 前