Respondida
Fix Command Window to Accept Input from Top Down
Matlab doesn't work that way. However, you can achieve a similar result (user experience) the following way: * type the comma...

más de 13 años hace | 1

Respondida
Problem with text size
Increase the font size with Home | Preferences | Fonts | Desktop code font

más de 13 años hace | 1

| aceptada

Respondida
Undefined function or variable in MATLAB
What is |e=[Hydrogen Helium]| intended to do?

más de 13 años hace | 0

| aceptada

Respondida
"??? Undefined function or variable" in a function (should be easy...?)
Set >> dbstop if error and inspect the Workspace window when the break occur Here are some links on debugging in...

más de 13 años hace | 2

Respondida
debugging a callback function
_"[...] debug as normal [...]"_? Could you provide an example? I would either set >> dbstop if error or set a breakpo...

más de 13 años hace | 0

| aceptada

Respondida
Subplot disappears on reposition
I think something is wrong in |ax = subplot(3,3,(x-1)*3+y);|. Maybe a row-column mixup? In your code, axes are overwritten by su...

más de 13 años hace | 0

| aceptada

Respondida
How to display results for looping
The results need to be arrays, i.e. x1_new(n,i) x2_new(n,i) y_new(n,i)

más de 13 años hace | 0

Respondida
Arrayfun scalar expansion (non-uniform output)
_"[...]this needs to be as fast as possible. "_ With R20112a loops are sometimes fast enough. Try this %% N = 1e5;...

más de 13 años hace | 1

Respondida
Reading Data from container.Map Objects
This looks like a bug to me (R2012a). Either |a('Two').Remark| should return an error message or the list of ten strings (as you...

más de 13 años hace | 0

Respondida
"A MATLAB string constant is not terminated properly"-what this error indicates??
It indicates that there is a blip too few, too many, or in the wrong place. However, you code looks ok to me. Comments: * ...

más de 13 años hace | 1

| aceptada

Respondida
How should I set a dragable point in GUI?
AFAIK: _"dragable points"_ is not a standard feature in Matlab. (However, there is always another toolbox.) See the FEX-con...

más de 13 años hace | 0

Respondida
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Should be x(u) = NaN; without blips. What did the error message say?

más de 13 años hace | 0

| aceptada

Respondida
read a commented line from code
It is possible to make all kinds of fancy tools. However, how much work are you prepared to invest in the tool? You want to s...

más de 13 años hace | 0

Respondida
How to write a big file
2700 rows of text should be no problem to write with |fprintf| and a loop. The resulting file will be a couple of MB at most. Th...

más de 13 años hace | 0

Respondida
How to read text file which has blanks in some columns ?
Comments * If you are in control of the program, which produces this text file, you could write the algorithm-value 'A' or 'B...

más de 13 años hace | 1

Respondida
Using matfile objects as input parameters
Yes, it is ok to pass around matfile objects, matObj; make some simple experiments. I don't think the documentation says anyt...

más de 13 años hace | 1

| aceptada

Respondida
regular expression to replace ~ in code
regexprep( '[ a, ~, b ]', '(?<=\[.+?,[ ]*)\~(?=.+?])', 'dummy' ) returns [ a, dummy, b ] *Firstly, backup all y...

más de 13 años hace | 0

| aceptada

Respondida
Extracting temperature data from netCDF file and then trying to take time derivative of temperature
for i=1,200 SATdiffhist(i) = SATh(i) - SATh(1); i = i+1 end with Matlab syntax for i=1:200 ...

más de 13 años hace | 0

Respondida
Why is assigning a new handle object in an array slow?
There is a performance penalty for using objects. That has been discussed here at Answer and in other places, e.g. <http://blogs...

más de 13 años hace | 1

| aceptada

Respondida
problems with a regex
_to extract the string between "is a " and the first " - "_ This formulation is close to a pseudo-code for the expression we s...

más de 13 años hace | 0

Respondida
MATLAB OOP - redefine static method
Do you use a call like this? myclass.Parameters.getParameterInstance( 'two', 'args' )

más de 13 años hace | 0

| aceptada

Respondida
How to compare the values ​​of three matrices are equal?
The link once more: <http://www.mathworks.se/help/matlab/math/matrix-indexing.html#bq7egb6-1 Using Logicals in Array Indexing> ...

más de 13 años hace | 0

| aceptada

Respondida
How to open only gui file without opening the command window
See <http://www.mathworks.se/products/compiler/ MATLAB Compiler - Build standalone executables and software components from MAT...

más de 13 años hace | 0

Respondida
Importing file with text and numbers
If the file fits in memory this is one way to read it. Maybe, |'\r\n'|, needs to be replaced by |'\n'|. That depends the sou...

más de 13 años hace | 0

Respondida
Matfile runs incredibly slowly on large files--what might be the problem?
*Summary: _"column-major"_ does not apply to the matlab.io.MatFile class when it comes to reading speed.* --- *Column-majo...

más de 13 años hace | 3

| aceptada

Respondida
error in MATLAB while shutting down
Try which builtin -all it should return *one* line similar to built-in (C:\Program Files\MATLAB\R2012a\to...

más de 13 años hace | 0

Respondida
what should be the format of .mat file
Try this: S = load( filename, '-ascii' ); See <http://www.mathworks.se/help/matlab/ref/load.html?searchHighlight=load ...

más de 13 años hace | 0

Respondida
Matfile runs incredibly slowly on large files--what might be the problem?
I'm neither surprised nor shocked. Which OS, and how much RAM installed? Your matrix is large >> 64000*31250*4/1e9 a...

más de 13 años hace | 0

Respondida
How do I organize data when number of data points is unknown?
This code %% str = '1111111111111112222222222222333333444444444555511111111222222333'; str([ true, not( diff( d...

más de 13 años hace | 0

| aceptada

Respondida
Unable to set dynamic property within superclass method from subclass object
This restriction is not specific to dynamic properties. The documentation says: protected — access from class or subclass...

más de 13 años hace | 1

Cargar más