Community Profile

photo

Sam Butler


Air Force Institute of Tech

Active since 2013

Statistics

  • Thankful Level 1
  • First Answer

View badges

Content Feed

View by

Answered
Inconsistency using integral versus quad?
Here is f(x); it is actually a two-parameter code: function [val] = Dist_Gaussian(vec_half, params) sig = params(1); ...

9 years ago | 0

Question


Inconsistency using integral versus quad?
I am encountering a strange problem using the built-in "integral" function in MatLab R2013b, where it is not giving me the prope...

9 years ago | 2 answers | 0

2

answers

Question


lsqcurvefit passing parameters to function?
I have a question on using lsqcurvefit. I have built up a MatLab object that has (among other supporting functions) two key func...

9 years ago | 1 answer | 0

1

answer

Question


Using lsqnonlin for multi-dimensional inputs and parameter spaces
I am having trouble understanding how to interface with the lsqnonlin Nonlinear Least Squares solver. I know it takes as inpu...

10 years ago | 1 answer | 0

1

answer

Answered
Mex with Function Pointers?
I got this code to work properly using a mix of C++ objects and MatLab objects, by tracking the function pointer's 64-bit intege...

10 years ago | 0

Question


SEMILOGY not printing proper y axis labels
I am creating 4 total plots, 2 per figure, using the same data; the first plot is a regular plot (using subplot and plot command...

10 years ago | 1 answer | 0

1

answer

Question


OOP in MatLab -- assigning values to properties?
I am trying to understand how MatLab does OOP in R2013b, so I got started with a simple test class, but it doesn't seem to behav...

10 years ago | 1 answer | 2

1

answer

Question


Mex with Function Pointers?
I want to build most of my code in MatLab, but there is one routine that needs to be sped up in C++ (and made to use the GPU; hi...

10 years ago | 1 answer | 0

1

answer

Question


2-D integral of function with >2 params (but only 2 variables)
Is there a slick method for me to do a 2-D integral (ie, using quad2d) for a function with more than 2 varaibles, but specifying...

10 years ago | 1 answer | 0

1

answer

Question


Setting Default Legend Location?
How do I set the default legend location in MatLab R2013a?

10 years ago | 1 answer | 0

1

answer

Answered
Forcing slider values to round to a valid number
If you want to update the slider to have this new value as well, be sure that after you do the rounding, you also use: set(...

11 years ago | 1