David Pesetsky
Followers: 0 Following: 0
Statistics
RANK
7,642
of 295,569
REPUTATION
6
CONTRIBUTIONS
46 Questions
4 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
4
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
how to convert the entries of a structure from single to double?
For each of the 6 columns that are vectors, this works: for i=1:50 tmp_serie(i).Fedge = cast(tmp_serie(i).Fedge, 'double'); ...
5 years ago | 0
Question
how to convert the entries of a structure from single to double?
Hello, I have a big structure. First column is numbers, but other columns (each cell of the column) are each a vector. Those ...
5 years ago | 2 answers | 0
2
answersQuestion
after compile, .m no longer available?
I compiled code using mcc and also the deploytool. It needs to pull functions in from the Path variable, which is set during com...
6 years ago | 0 answers | 0
0
answersQuestion
Compile w/o pulling in .mat files?
Hi... I use either the deploytool or mcc to compile. In my code, I use Load to pull in inputs parameters in .mat files. But t...
6 years ago | 1 answer | 0
1
answerQuestion
stand-alone exe's decompose into temp .m's?
Hi- I have used the Deploy tool to compile a stand-alone exe, but I see that when run, the exe somehow decomposes itself into...
6 years ago | 1 answer | 0
1
answerQuestion
string that may or may not need to be converted to num...
I am bringing a string into a function. I need to convert it to num ONLY if it's intended as a number like 2, 40, 100... but whe...
6 years ago | 2 answers | 0
2
answersQuestion
Pass a null string to stand-alone exe?
Hello, I compiles a function as exe, but don't know how to pass the arguments. They are all supposed to be strings like file ...
6 years ago | 0 answers | 0
0
answersQuestion
Why is there a mcrCache?
I made a stand-alone matlab executable. Apparently it makes a cache folder under a TEMP folder with quite a few .m files, etc. i...
6 years ago | 0 answers | 1
0
answersQuestion
poly and polyval for large vectors...
Hello, I need to get the equation of the polynomial through 50 points... a 49th order should make a perfect fit. This doesn't...
6 years ago | 1 answer | 0
1
answerQuestion
Arrange figures in numerical order...
There's a nice little function on the exchange that sorts figures on the screen, but it's not sorting in numerical order how the...
6 years ago | 1 answer | 0
1
answerQuestion
Read vector until last value, or NANs start
I have a vector array with an unknown number of entries. Either it will end nicely with the last entry being a number, or nans w...
6 years ago | 1 answer | 0
1
answerQuestion
Help me print this cell array...
I've attached a cell array to this post. Can ANYONE help me just print it to a comma delimet file? Or text file is fine. Will al...
6 years ago | 1 answer | 0
1
answerQuestion
Singleton error causing mismatch?
What is going on here? Assignment has more non-singleton rhs dimensions than non-singleton subscripts Error in Reduc...
6 years ago | 1 answer | 0
1
answerQuestion
How to copy excel sheet from book to book?
Hi, I need to copy an excel sheet with equations into another book. Hopefully, the equations will wake up and realize their d...
6 years ago | 0 answers | 0
0
answersstand alone exe and passing arguments
Instead, I named the function fatigue_GE127_45cores_bin_size2_forEXE, AND used the project compiler to compile it, where I saw i...
6 years ago | 0
Question
stand alone exe and passing arguments
Hi. Here's an example of what I compiled, how i invoke it, and the error. It's on DOS. function success = allFat (sourcecod...
6 years ago | 2 answers | 0
2
answersQuestion
Insert first element into existing column vector...
Hello, I am trying to just insert a 0 into my 48x1 double vector z, like this: array = [0.0,z] I keep getting: Error...
6 years ago | 2 answers | 0
2
answersQuestion
Precision problem reading from excel?
I have an excel book. In the cell is exactly 15. I use: num=xlsread(envelopeFile,envelopeSheet,excelRange) ...and it's reporti...
6 years ago | 2 answers | 0
2
answersQuestion
How to get R^2 of a 5th order polyfit?
I need to find how poorly the 5th order fit is for: [p,S] = polyfit(x,y0,5); yp = polyval(p,x); A...
6 years ago | 1 answer | 1
1
answerQuestion
How to make a zoomable movie?
Hello, I was wondering if there's any format of a Matlab movie that is zoomable? Like a fig is zoomable. I used below to make...
6 years ago | 1 answer | 0
1
answerQuestion
Save a .fig from a subplot as subplots are building up?
Hello, I am building up subplots in a loop like: h2(nn-1)=subplot(6,4,nn-1); mytitle=name; ...
6 years ago | 1 answer | 0
1
answerQuestion
logical less than thinks values are the same?
I have wracked my brain over this one. It must be a dumb mistake. if scalarMin < 1.0 ...
6 years ago | 1 answer | 0
1
answerQuestion
polynomial via point-slope
Hello, I want to make a bridge curve connecting 2 other curves. The ends of the bridge curve will have a known point and slop...
6 years ago | 0 answers | 0
0
answersQuestion
function in a script...
I am having trouble including a function in my script. It gives: Undefined function 'PlotNewFig' for input arguments of typ...
6 years ago | 1 answer | 0
1
answerQuestion
Press a curve toward data?
Is it possible to "smooth" scattered 2d data by draping a curve loosely over it...or adjusting the "tightness" of the curve to t...
6 years ago | 0 answers | 0
0
answersQuestion
Curve smoother that holds resulting curve a max distance from original data?
Is there a smoothing routine (2-d data) where the max resulting distance between the smooth curve and the original data can be s...
6 years ago | 2 answers | 0
2
answersQuestion
Is there a smaller MCR?
Hey. We're moving to cloud computing. We want to make stand-alone Matlab exe's. But the required MCR is to big to keep copying o...
7 years ago | 1 answer | 1
1
answerQuestion
How to search text file for string, and return the line?
Hello, I need to find where in a file a string occurs, and grab the 5th and 6th values on the same line into 2 variables. Her...
8 years ago | 2 answers | 0
2
answersQuestion
how to use function in fzero as a variable file
Hello, There's a simple example of fzero here, that defines a function in a file called f.m: <https://www.mathworks.com/help/...
8 years ago | 1 answer | 0
1
answerQuestion
Combining multiple figures into one with uicontrols, or combining figure frames into a movie...
Hi, I've made a nice figure, with uicontrols, and learned how to take frames of that to make a mpg movie. Now, I need to comb...
8 years ago | 0 answers | 0