Community Profile

photo

Eric


Last seen: 1 month ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

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

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

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

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

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

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

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

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

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

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

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

9 years ago | 13

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 years ago | 0

| accepted

Load more