![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/9603739_1527625292767_DEF.jpg)
Nicholas Galang
Followers: 0 Following: 0
Feeds
已回答
'Cannot call or index into a temporary array' error message when setting up a set of coupled odes for ode45.
The problem is that when you call y(1) that creates a temporary array which you cannot index into. In order to get the value in ...
'Cannot call or index into a temporary array' error message when setting up a set of coupled odes for ode45.
The problem is that when you call y(1) that creates a temporary array which you cannot index into. In order to get the value in ...
6 years 前 | 1
已回答
Apply some code on this array
Looping through S and creating a temporary array every 5 values should do the trick. for i=1:5:length(S) temp=S(i:i...
Apply some code on this array
Looping through S and creating a temporary array every 5 values should do the trick. for i=1:5:length(S) temp=S(i:i...
6 years 前 | 0
| 已接受
已回答
How to make a smoother pdf plot?
Your X values are out of order causing the graph to look strange. If you were to sort those values it will help smooth out the g...
How to make a smoother pdf plot?
Your X values are out of order causing the graph to look strange. If you were to sort those values it will help smooth out the g...
6 years 前 | 0
已解决
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
6 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...
6 years 前
已解决
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
6 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 ...
6 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...
6 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:...
6 years 前