Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 7

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

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

15 years ago | 0

| accepted

Answered
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 years ago | 2

| accepted

Question


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 years ago | 3 answers | 0

3

answers

Answered
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 years ago | 4

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

15 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 1

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

15 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

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

15 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 2

Answered
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 years ago | 0

| accepted

Load more