photo

Nicholas Galang


Last seen: plus de 4 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
'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 ...

plus de 6 ans il y a | 1

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a

A résolu


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

plus de 6 ans il y a