Community Profile

photo

Eric


Last seen: Today 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...

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

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

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

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

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

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

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

6 years ago | 1

Solved


Too mean-spirited
Find the mean of each consecutive pair of numbers in the input row vector. For example, x=[1 2 3] ----> y = [1.5 2.5] x=[1...

7 years ago

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

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

9 years ago

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

Solved


Is It a Palindrome?
Given a string or array, determine if it is a palindrome.

9 years ago

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

10 years ago | 2

| accepted

Solved


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

11 years ago

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

Load more