Community Profile

photo

David Pesetsky


Last seen: 4개월 전 2015년부터 활동

통계

  • Thankful Level 4

배지 보기

Content Feed

보기 기준

답변 있음
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년 전 | 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년 전 | 답변 수: 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년 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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 ...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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...

5년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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...

거의 6년 전 | 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 초과 전 | 답변 수: 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...

7년 초과 전 | 답변 수: 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/...

7년 초과 전 | 답변 수: 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...

7년 초과 전 | 답변 수: 0 | 0

0

답변

더 보기