Feeds
提问
Efficiently find indices in matrix
Massive edit/complete rewording by example. if true A = [1:10]; for i = 1:10, for j = 1:10, ...
11 years 前 | 2 个回答 | 0
2
个回答提问
Keep only elements that appear multiple times
Hey everyone, been banging my head against this for awhile and can't come up with something efficient. I have a large matri...
11 years 前 | 5 个回答 | 0
5
个回答已解决
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 ...
11 years 前
已解决
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...
11 years 前
已解决
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:...
11 years 前
提问
Plotting elements of a matrix versus elements of another
I have two m x n matrices. I want to make a scatter (well, a STEM really) that plots the 'x' value in index i,j of the first ma...
11 years 前 | 1 个回答 | 0
1
个回答提问
How to delete rows where one element is forced to meet some criteria off of a 2xn array
Hey all. I did a good deal of searching, but I'm having some trouble removing specified elements of an array. Basically, I hav...
11 years 前 | 2 个回答 | 0