photo

James


University of Texas at Austin

Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Solver

View badges

Feeds

View by

Question


Fitting a hyperbolic curve to a set of data using Qi, Di, and b
Hi, First, I do not have the optimizaiton toolbox, the only toolbox I have is that stats box. I have a vector with 1000 n...

mer än 10 år ago | 1 answer | 0

1

answer

Solved


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

nästan 11 år ago

Solved


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

ungefär 11 år 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 ...

ungefär 11 år ago

Question


Slow Triple for loop
Hi, I have created a program that has a tripple for loop but runs very slowly and was hoping for some tips to speed it up... ...

ungefär 11 år ago | 2 answers | 0

2

answers

Question


Put a % sign inside of an 'edit text' box behind a number in the box
Hi, So I have a few edit text boxes on my form that I made using GUIDE. My text boxes are linked to some scroll bars and rang...

ungefär 11 år ago | 2 answers | 0

2

answers

Question


handles using GUIDE, global vs. handles
Matlab Noob: Is using handles in a GUI as bad as using globals to be able to use variables in different functions? Is there a...

ungefär 11 år ago | 1 answer | 2

1

answer

Question


General GUI and program design
Hi, I am a new hire at an engineering company and am about to start a fairly large project which I have been allocated 6 mont...

ungefär 11 år ago | 1 answer | 0

1

answer

Solved


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

ungefär 11 år 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...

ungefär 11 år ago

Solved


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

ungefär 11 år ago

Solved


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

ungefär 11 år ago

Solved


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

ungefär 11 år 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:...

ungefär 11 år ago

Solved


Possible Outcomes of American Roulette
The payout for American roulette can be calculated by: payout = (38/n)-1 where n is the number of squares the bet covers. ...

ungefär 11 år ago

Solved


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

ungefär 11 år ago

Question


Drastic processing time between calling a function with a square root operation in it and simply writing the function in the script itself
Hi, Basically I encountered a very large change in processing time because of where I put a sqrt function. Here is the code: ...

ungefär 11 år ago | 1 answer | 0

1

answer