Community Profile # James

### University of Texas at Austin

Actif depuis 2013

#### Statistiques

All
• • #### Content Feed

Afficher par

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

presque 10 ans il y a | 1 réponse | 0

### 1

réponse

A résolu

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

environ 10 ans il y a

A résolu

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

plus de 10 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 10 ans il y a

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

plus de 10 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 10 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 10 ans il y a | 1 réponse | 2

### 1

réponse

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

plus de 10 ans il y a | 1 réponse | 0

### 1

réponse

A résolu

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

plus de 10 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 10 ans il y a

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 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 10 ans il y a

A résolu

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

plus de 10 ans il y a

A résolu

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

plus de 10 ans il y a

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

plus de 10 ans il y a | 1 réponse | 0

réponse