photo

James


University of Texas at Austin

Aktiv seit 2013

Followers: 0   Following: 0

Nachricht

Statistik

All
  • Thankful Level 1
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 10 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

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

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

etwa 11 Jahre vor

Frage


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

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 11 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 11 Jahre vor | 1 Antwort | 2

1

Antwort

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort

Gelöst


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

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

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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Gelöst


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

etwa 11 Jahre vor

Frage


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

etwa 11 Jahre vor | 1 Antwort | 0

1

Antwort