Respondida
How to increase table size according to the input data (with GUI)
Yes, the uitable is "resized" depending on data. Try %% figure, t = uitable; %% set(t,'Data',magic(10)) ...

casi 14 años hace | 0

Respondida
Running MATLAB efficiently from windows command line for faster "unzip and read" process.
It might be an alternative to run Matlab as an activeX Server.

casi 14 años hace | 0

Respondida
Can I combine character data and numerical data in a fprintf statement
Yes, that is a bit strange. I made a little experiment: >> fprintf( 1, '%c,%7.3f\n', [ 122, pi, 122, pi ] ) z, 3.14...

casi 14 años hace | 1

Respondida
Why does my Class take up less room than my variables?
I made a little experiment with R2012a and the default mat-file version, i.e. v7.0. It uses compression. * created an objec...

casi 14 años hace | 0

Respondida
How to: Control Histogram bin width
Try doc histc

casi 14 años hace | 0

| aceptada

Respondida
Is there a better way to capture the output of an external program?
These two lines are from my code. However, I don't know if it's better or even possible in your case mlb_cmd = sprintf( ...

casi 14 años hace | 0

| aceptada

Respondida
Reading and grouping data from file
*Hint:* * read the file and find the row numbers of "TIME": ixt * read the file a second time one block at a time controlle...

casi 14 años hace | 0

| aceptada

Respondida
textscan question skip lines
See my answer <http://www.mathworks.se/matlabcentral/answers/58463-read-data-form-file> and the answer that I link to.

casi 14 años hace | 1

Respondida
Not enough computer memory to train the data...
* Putting the training data in a memmapfile might help. * standard answer: memory is cheap

casi 14 años hace | 0

| aceptada

Respondida
Complicated Matrix Data filtering
Try [~,~,raw] = xlsread( fullfile( pathname, filename ) );

casi 14 años hace | 0

Respondida
Pre-allocating Arrays and Optimizing memory
Are you aware that textscan can skip columns when reading, e.g '%f%*f%f' reads the first and third column and skips th...

casi 14 años hace | 3

| aceptada

Respondida
Matlab Listbox GUI No Selection
I have trouble understanding your question. Isn't there one negation too many? However, * regarding "fake mouse click" read ...

casi 14 años hace | 0

| aceptada

Respondida
String to Variable conversion?
You might find dynamic field names useful. Doc says: Generate Field Names from Variables [...] For exa...

casi 14 años hace | 1

| aceptada

Respondida
Is it possible to set watchdogs (memory, exec time) in MATLAB?
I think it is possible to implement a watchdog based on side effects of conditional breakpoints. Here is a demo of the approach....

casi 14 años hace | 2

Respondida
How to extract the first and last position for each ones series ?
Try find( diff( X ) == 1 ) + 1 find( diff( X ) == -1 )

casi 14 años hace | 0

Respondida
I keep on getting the error "Attempted to access y(2); index out of bounds because numel(y)=1. Error in intoff (line 11) e=y(n-1)+y(n);" some one please help.
With n==2 in the inner loop e=y(n-1)+y(n); the error occurs because y(2) is not defined at this stage; y is a scalar....

casi 14 años hace | 0

Respondida
Strings from a text file to a matrix containing double precision floating numbers
If the file isn't huge (compared to available RAM and address space) and you have an idea of the maximum number of columns "colu...

casi 14 años hace | 0

Respondida
How to print figure precisely to A4 without scale
Did you search for a solution in the File Exchange? <http://www.mathworks.se/matlabcentral/fileexchange/23629-exportfig export_f...

casi 14 años hace | 0

Respondida
matlab code error - Subscript indices must either be real positive integers or logicals.*
The debugger will tell you. Put the code in a function. Execute dbstop if error in the command window. Run your func...

casi 14 años hace | 0

Respondida
Is it good or bad thing to use handle() constructor on MATLAB Handle Graphics numeric handles?
* it is good to stick to documented features * see <http://undocumentedmatlab.com/>, search for handle

casi 14 años hace | 0

Respondida
Read data form file
See <http://www.mathworks.se/matlabcentral/answers/37437-textscan-reading-after-a-specified-term-or-a-row-and-writing-matrix TEX...

casi 14 años hace | 0

| aceptada

Respondida
TEXTSCAN Reading After a specified term(or a row) and writing matrix.
This file poses two problems when using TEXTSCAN. # The number of headerlines is not known beforehand. # The number of c...

casi 14 años hace | 1

| aceptada

Respondida
Which tool are you using to create the documentation of your MATLAB codes?
<http://www.artefact.tk/software/matlab/m2html/ M2HTML: Documentation System for Matlab in HTML> has been around and supported f...

casi 14 años hace | 3

| aceptada

Respondida
Resize figure window to reduce whitespace?
Search FEX for "tight plot": * <http://www.mathworks.se/matlabcentral/fileexchange/39664-subtightplot> * <http://www.mathwor...

casi 14 años hace | 0

| aceptada

Respondida
run a script inside another script
That's what functions are for. Convert EPSO to a function function global_best_solution = ESPO_fcn( indata, if, needed...

casi 14 años hace | 0

| aceptada

Respondida
Can matlab have command that invalid a lot of command lines together?
%{ this is a comment this is a second comment %}

casi 14 años hace | 1

| aceptada

Respondida
Faster way to initilize arrays via empty matrix multiplication?
_... got me to the *link* above..._ I cannot find the link you refer to. . The Windows task manager shows that ...

casi 14 años hace | 1

| aceptada

Respondida
how to read values from sqlserver
See: * <http://www.mathworks.se/help/database/ug/database.html Database Toolbox> * the FEX contribution <http://www.mathwor...

casi 14 años hace | 0

| aceptada

Respondida
Simulation of a function with loops
* with Matlab this is a script, not a function * I'm not sure I understand your question * the code doesn't explain why the re...

casi 14 años hace | 0

| aceptada

Respondida
Error when manipulating values on a matrix
The statement caudal_bombado_c1(ii,jj)=200; in if (Populacao1(ii,jj)==1) caudal_turbinado_c1(ii,j...

casi 14 años hace | 0

| aceptada

Cargar más