Community Profile

photo

Eric


Sandia National Laboratories

Last seen: 1 year ago Active since 2011

Statistics

All
  • Thankful Level 2
  • First Review
  • 6 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 4
  • First Answer
  • Promoter
  • Solver

View badges

Content Feed

View by

Question


Calling an object method where the name of the method is a varible
I am trying to call an object method when I have the object instance, the method name, and the argument value(s) as variables. I...

3 years ago | 1 answer | 0

1

answer

Answered
How can I get rid of the horizontal white lines?
K-Nearest Neighbor Filtering does a decent job. You can play with the parameters, but here are some quick settings I tried. ...

5 years ago | 0

Answered
Is a Matlab license limited to a user or a platform?
You can set the license up as designated user and tie it to a username. In that case you can install the software on up to four ...

5 years ago | 0

Answered
why cant mex find visual studio 2013
Apparently it's missing entries in your Windows registry. You could double-check that those entries are missing using regedit. ...

5 years ago | 1

Answered
xlswrite too large imput
The maximum number of rows in a single worksheet for newer versions of Excel is 1,048,576 according to https://support.office.co...

5 years ago | 1

| accepted

Answered
Error: The variable in a parfor cannot be classified
Try replacing the for loop with the eval() statements with [ph_samples_volume, th_samples_volume] = deal(zeros(dimension(1)...

5 years ago | 0

Answered
write files in.csv format in separate loacation
You're saving everything to 'thisfile.csv'. You need to change the filename with each iteration of the for loop. Try something...

5 years ago | 0

| accepted

Answered
Point Spread Function of an optical system
Sorry, I was out on vacation for a couple weeks, then I posted to <https://www.mathworks.com/matlabcentral/answers/36064-sphe...

5 years ago | 1

Answered
Matlab > Genetic annotator > HELP 2
x is an input to the function parameterized_fitness(). Its values are defined by the code that calls this function, not within ...

6 years ago | 0

Answered
How can I force imregister to use the parameter 'InitialTransformation'?
One obvious problem: You have flipped the order of img_1 and img_2 in your two registration function calls. In your usage of i...

7 years ago | 3

Answered
Keyboard shortcut to evaluate current line?
Create a Quick Access Toolbar shortcut for doing this and call it "Run line". Here's the code: currentEditor = matlab.desk...

7 years ago | 12

| accepted

Question


What does the output of imregcorr mean?
I am trying to understand the output of imregcorr and could use some help. Below is the code I am working with. I have my own ...

7 years ago | 1 answer | 0

1

answer

Answered
How to do ifft to data derived in frequency domain
I'm going to assume you have a vector f which is the frequency sampling vector and a signal s. Assuming s is in a centered coor...

8 years ago | 1

| accepted

Answered
About Frequency in fft
Here's what I would do: N = 256; %Length of fft after padding delta_t = 10;%seconds delta_f = 1/(N*delta_t);%Hertz ...

8 years ago | 0

| accepted

Answered
Importing data from excel with formula
Here's a snippet of code to get you started. I created a spreadsheet called delme.xlsx. In cell A1 I put the value 1. In cell...

8 years ago | 0

| accepted

Answered
Very basic object oriented question
I don't believe you're allowed to call non-static class methods from within the constructor itself. Until the constructor retur...

8 years ago | 0

| accepted

Answered
Setting Chart Value Range for Excel2003/2007 - separated Cells
You might try the following: RangeOBJ = ChartSheet.Range('F19,F22'); chart.SeriesCollection(1).XValues = RangeOBJ.Areas; ...

8 years ago | 0

Answered
Image processing with gradient FFT
You should check out Focus Measure in the File Exchange at <http://www.mathworks.com/matlabcentral/fileexchange/27314-focus-m...

9 years ago | 1

| accepted

Answered
spherical aberration and Chromatic aberration
I looked over this function quickly and I think you want to set the "mask" input value of genzern() to R_norm<=1 from my code. ...

9 years ago | 0

Answered
spherical aberration and Chromatic aberration
Hadi, I'll have to take a look at this code later. I am reasonably sure that Malacara's Zernikes use a different ordering an...

9 years ago | 0

Answered
Can I use one Matlab 2010a individual license on both a work station and a laptop?
How many activations does the Mathworks License Center show? Go to <https://www.mathworks.com/licensecenter>. Then click on th...

9 years ago | 0

| accepted

Answered
Image Alignment Code in MATLAB
Here's what works well for me: 1. Get dftregistration.m from <www.mathworks.com/matlabcentral/fileexchange/18401-efficient-s...

9 years ago | 0

Question


Using fminunc() with very large scale problems
I have delved into this topic before <http://www.mathworks.com/matlabcentral/newsreader/view_thread/300661#811585>, but am retu...

9 years ago | 1 answer | 0

1

answer

Answered
Converting Mathcad to Matlab
Look at the documentation for Matlab's fzero() function. For example, to find the zero of cosine between 1 and 2: fun = ...

9 years ago | 2

| accepted

Answered
Goodness of Fit from Gaussian Fit
I use the following: ybar = mean(y); %Mean of the data sst = sum( (y - ybar).^2 ); %Total sum of squares gof.sse = sum( ...

9 years ago | 3

Answered
How can I save/load a .NET array to a .mat file?
It's perhaps kind of a pain, but you could cast the array to a Matlab double array prior to saving and then cast it back to a .N...

9 years ago | 0

Answered
Conditional Formatting in Excel 2010
It's not clear what formatting you're trying to set. Also, you don't state how you used the Modify() method to generate the err...

9 years ago | 2

Answered
Problems with importing date and time from Excel to Matlab
xlsread seems to work fine, at least with small files. That seems to contradict your problem description. I created a simple t...

9 years ago | 1

| accepted

Answered
How can I set landscape and margins in word using matlab activex
wdOrientLandscape is part of an enumeration. It's value is actually 1. The proper usage for CentimetersToPoints should be ...

10 years ago | 0

| accepted

Answered
Insert multiple plots to excel sheets using ActiveX
First create as many sheets as you want (using Sheets.Add()). Then loop through your plots, calling Sheet1 = get(Sheets,...

10 years ago | 0

| accepted

Load more