Community Profile

photo

David Pesetsky


Last seen: 4 months ago Active since 2015

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Answered
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

answers

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 2 answers | 0

2

answers

Question


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

5 years ago | 0 answers | 0

0

answers

Question


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

5 years ago | 0 answers | 1

0

answers

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

5 years ago | 1 answer | 0

1

answer

Question


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

answer

Question


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

answer

Question


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

answers

Answered
stand 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

answers

Question


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

answers

Question


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

answers

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answer

Question


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

answers

Question


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

answer

Question


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

answers

Question


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

answers

Question


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

6 years ago | 1 answer | 1

1

answer

Question


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

7 years ago | 2 answers | 0

2

answers

Question


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

7 years ago | 1 answer | 0

1

answer

Question


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

7 years ago | 0 answers | 0

0

answers

Load more