Community Profile

photo

Tyler


Aktiv seit 2014

Statistiken

All
  • Thankful Level 1
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

Gelöst


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

mehr als 9 Jahre vor

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mehr als 9 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


Is my wife right?
Regardless of input, output the string 'yes'.

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Frage


How do you plot arrays with each element being a point on the graph with the elements within the arrays updating within a for loop?
Hello, I've got a couple vectors that I need to plot. Ex. x=[24 35 66 75]; y=[5 15 34 45]; And the elements in th...

mehr als 9 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Physics Question-Building Demolition
Hello, I'm writing a script to simulate building demolition using basic kinematics and Newton's law F=ma (for friction). Right ...

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort