Feeds
已解决
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
13 years 前
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
13 years 前
已解决
Factorize THIS, buddy
List the prime factors for the input number, in decreasing order. List each factor only once, even if the factorization includes...
13 years 前
已解决
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 ...
13 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
13 years 前
已解决
Happy 2013...
Happy 2013, everyone! An interesting tidbit about 2013 is that it is the first year since 1987 to contain four different digits...
13 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...
13 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:...
13 years 前
已解决
Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...
13 years 前
已解决
Divisors of an integer
Given a number N, return a vector V of all integers that divide N. For example, N = 10 Then V=[1 2 5 10]
13 years 前
提问
New matrix from all based on some criteria
Hi, Probably this is a very simple question, but I am new to Matlab and can't find the answer so would appriciate your help. ...
14 years 前 | 1 个回答 | 0
1
个回答提问
Find row where cell value equals some defined value
Hi, I have a list called quarters that looks something like: 1999Q2 1999Q3 1999Q4 2000Q1 I would like to find ...
14 years 前 | 2 个回答 | 0
2
个回答提问
Sort without duplicate
Hi, I want to sort a vector leaving only unique values. For example, if I have: 1 2 2 3 4 4 5 I wa...
14 years 前 | 1 个回答 | 0
1
个回答提问
out of memory
Hi, While working with Matlab I get "out of memory" message. Memory status is as following: Maximum possible array:...
14 years 前 | 2 个回答 | 0
2
个回答提问
Data read in
Hi, I have quite many files starting named like data_52348.csv where the number is just random 5 digits. I would like to read...
14 years 前 | 2 个回答 | 0

