Community Profile

photo

Philip

MathWorks

Last seen: 1 día ago Active since 2014

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

Answered
Code in live script run much slow
This issue has been partially resolved in R2020b, R2020a, R2019b Update 5, and R2019a Update 8. Most Live scripts with loops now...

casi 2 años ago | 8

| accepted

Solved


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

más de 6 años ago

Solved


inner product of two vectors
inner product of two vectors

alrededor de 7 años 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...

alrededor de 7 años ago

Solved


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

alrededor de 7 años ago

Solved


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

alrededor de 7 años ago

Solved


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

más de 7 años ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

más de 7 años ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

más de 7 años 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 ...

más de 7 años 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...

más de 7 años 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:...

más de 7 años ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

más de 7 años ago