photo

Nicholas Galang


Last seen: 4年以上 前 2018 年からアクティブ

Followers: 0   Following: 0

統計

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

バッジを表示

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 ...

6年以上 前 | 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...

6年以上 前 | 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...

6年以上 前 | 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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

6年以上 前

解決済み


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年以上 前

解決済み


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年以上 前

解決済み


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年以上 前