Community Profile

photo

Joe V


Aktiv seit 2013

Statistiken

All
  • Knowledgeable Level 1
  • First Answer
  • 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


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

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


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

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


Return the Nth Output from an Input Command
*Description* Given _F_, a cell array whose first element is a function handle and subsequent elements are arguments, return ...

mehr als 9 Jahre vor

Beantwortet
Anonymous functions in cftool GUI
Hi Marcelo, sorry I didn't see your comment until just now. I no longer have access to the curve fitting toolbox to test, but I ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
Eval on multi-line strings - no return value?
I hope I can add some further insight to what others have said. The main reason |eval| isn't working the way you expect is that ...

mehr als 9 Jahre vor | 1

Beantwortet
Anonymous functions in cftool GUI
You don't need to use an anonymous function. Just type in your function, making sure to use x as the independent variable: ...

mehr als 10 Jahre vor | 0