답변 있음
How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?
You may want to give a look at *<http://www.mathworks.com/matlabcentral/fileexchange/14317-findjobj-find-java-handles-of-matlab-...

대략 15년 전 | 0

답변 있음
How can I filter multiple files ?
Parse the folder for existing 1-1000.out files and import them one-by-one apply filter and save: % Retrieve all the files in...

대략 15년 전 | 0

| 수락됨

답변 있음
all possible combinations of variables
200^3 = 8e6 regressions... tic comb = combinator(200,3,'p','r'); X1 = rand(40,200); X2 = rand(40,200); X3 =...

대략 15년 전 | 0

답변 있음
How do you align numbers within a column in UItable?
I came up with this solution: dat = {'23234.43 $'; '234.43 $'; '0.23 $'}; Pad string amounts with blanks l = cell...

대략 15년 전 | 1

답변 있음
rmfield does not release memory
You have to reassign the new structure: s = struct('strings',{{'hello','yes'}},'lengths',[5 3]); s = rmfield(s,'strings'); ...

대략 15년 전 | 0

답변 있음
MATLAB Help - Rolling Dice Simulation
S = 6; % six faces R = 3; % each dice is rolled 3 times N = 10; % roll 10 dice at once T = 2; % repeat all 2 times...

대략 15년 전 | 7

답변 있음
HELP! Reading a probability from a CDF plot
Give a look at this FEX submission: *<http://www.mathworks.com/matlabcentral/fileexchange/28515-eprob exceedance probability>*. ...

대략 15년 전 | 0

답변 있음
Uitable Row Height
The only way to affect the row height, as Yair explains <http://www.mathworks.com/matlabcentral/newsreader/view_thread/289838 he...

대략 15년 전 | 0

| 수락됨

답변 있음
How do you insert (not replace existing numbers) zeros in a column vector
Following Walter's idea of the NaNs: A = (1:9).'; % Build index grp = 4; % Skip every 4 ...

대략 15년 전 | 0

답변 있음
Disable Editable property on a particular cell in uitable?
In <http://www.mathworks.com/matlabcentral/answers/2283-uitable-s-cells-as-a-readonly uitable's cells as a readonly> I posted an...

대략 15년 전 | 0

답변 있음
MATLAB "Out of memory" problem
You should REALLY consider what you're doing: 65536*65536 * 8 bytes = *32 gigabytes* I worked on server with more than 32 gb...

대략 15년 전 | 0

답변 있음
How to import an excel file using a range?
Did you get an error saying the file was not found? Specify the full path: *'c:\...\EuroAreaData.xls'* *EDIT* from xlsread ...

대략 15년 전 | 0

| 수락됨

답변 있음
Choice of data structure - cellarray or dataset
* Store it as double matrix. You need to convert the dates, if in string format, to serial dates with <http://www.mathworks.com/...

대략 15년 전 | 0

| 수락됨

답변 있음
How to remove message from fsolve result
Then include options in the call to fsolve: x = fsolve(f,[0.001 0.001],options) Oleg

대략 15년 전 | 0

답변 있음
Popupmenu in the uitable
You should use CellEditCallback: set(handles.uitable1, 'ColumnFormat', {'A' 'R'},'CellEditCallback',@myFun) function my...

대략 15년 전 | 0

| 수락됨

답변 있음
how to load new packages into matlab
You should add the path to the package: *File > Set Path > Add Folder* then: rehash path Oleg

대략 15년 전 | 2

| 수락됨

질문


Solve a nonlinear system
I'm solving the following as: f = @(R01) 1/(1+R01) - .95; R01 = fzero(f,0); f = @(R02) 0.08/(1+R01) + 1.08/(1+R02...

대략 15년 전 | 답변 수: 3 | 0

3

답변

답변 있음
boxplot and how to change x-axis
Use the _labels_ option as described in the docs of <http://www.mathworks.com/help/toolbox/stats/boxplot.html boxplot>: X...

대략 15년 전 | 4

답변 있음
MATLAB one-liners
eval('fliplr(['''' 33 33 33 33 33 76 105 118 69 32 109 39 73 ''''])') MuAhahauHAh!!!

대략 15년 전 | 0

답변 있음
Finding the dates surrounding a day
Smt like this, once you have dates for equinoxes and solstices: % First date 20-Mar-2004 06:49:00 equinox = [732026.2840...

대략 15년 전 | 1

답변 있음
Importing Data from Excel File 'Faster' ??
You can make it faster by using a modified version of xlsread *<http://www.mathworks.com/matlabcentral/fileexchange/22365-xlsrea...

대략 15년 전 | 0

| 수락됨

답변 있음
Suppressed output after code error in publish
The only way I found in the past is: %% try sum(1:10,1:2); end display(lasterr) %% x = 1 A little ugly b...

대략 15년 전 | 1

| 수락됨

답변 있음
Can I create a matrix of size 10000X10000?
10 000 * 10 000 * (8 bytes) ~ 763 megabytes Type: feature memstats If the largest contiguous block is bigger than 763 megab...

대략 15년 전 | 1

답변 있음
Linearly spaced vectors
Have you seen *<http://www.mathworks.com/matlabcentral/fileexchange/29854-multiple-colon mcolon>*, could be a good benchmark. ...

대략 15년 전 | 0

답변 있음
Better ways to achieve maintainable code involving n-d arrays?
You may find useful the <http://www.mathworks.com/help/techdoc/matlab_prog/br2js35-1.html comma-separated list> expansion: cl...

대략 15년 전 | 0

답변 있음
How can I get the data selected by the user with the datacursor in a Gui?
An example with a line object, save as file and run exampleGUI: function exampleGUI lnH(1) = line(1:12,-1:10, 'lines' ,...

대략 15년 전 | 1

| 수락됨

답변 있음
Parallel Execution
A similar question answered just yesterday: <http://www.mathworks.com/matlabcentral/answers/2081-how-to-execute-two-matlab-sc...

대략 15년 전 | 0

답변 있음
Issue with fractional step-sizes
You have to keep separate the concept of your step size from the position of an element in an array: A = [.25 .5 .75 1] ...

대략 15년 전 | 1

답변 있음
uitable's cells as a readonly
Here an example that allows you to set as non editable just some cells of a column: function exampleGUI f = figure('Pos...

대략 15년 전 | 2

답변 있음
Product of matrix with other matrix elements (or array cells)
Elementwise multiplication: A.*C If _A_ or _C_ are cell arrays, then how are they stored? Whole matrix in a single cell or e...

대략 15년 전 | 0

| 수락됨

더 보기