![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6182327_1522112421138_DEF.jpg)
David Pesetsky
Followers: 0 Following: 0
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'); ...
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 前 | 0
提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 1
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答已回答
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...
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 前 | 0
提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 1
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 1
1
个回答提问
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 前 | 2 个回答 | 0
2
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0