photo

Nicholas Galang


Last seen: ongeveer 4 jaar ago Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

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

bijna 6 jaar ago | 1

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

bijna 6 jaar ago | 0

| accepted

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

bijna 6 jaar ago | 0

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago

Solved


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

ongeveer 6 jaar ago