回答済み
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...

13年以上 前 | 1

回答済み
Problem with text size
Increase the font size with Home | Preferences | Fonts | Desktop code font

13年以上 前 | 1

| 採用済み

回答済み
Undefined function or variable in MATLAB
What is |e=[Hydrogen Helium]| intended to do?

13年以上 前 | 0

| 採用済み

回答済み
"??? 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...

13年以上 前 | 2

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

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 0

| 採用済み

回答済み
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)

13年以上 前 | 0

回答済み
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;...

13年以上 前 | 1

回答済み
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...

13年以上 前 | 0

回答済み
"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: * ...

13年以上 前 | 1

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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?

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 1

回答済み
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...

13年以上 前 | 1

| 採用済み

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

13年以上 前 | 0

| 採用済み

回答済み
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 ...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 1

| 採用済み

回答済み
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...

13年以上 前 | 0

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

13年以上 前 | 0

| 採用済み

回答済み
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> ...

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 3

| 採用済み

回答済み
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...

13年以上 前 | 0

回答済み
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 ...

13年以上 前 | 0

回答済み
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...

13年以上 前 | 0

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

13年以上 前 | 0

| 採用済み

回答済み
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...

13年以上 前 | 1

さらに読み込む