Answered
Problem using fprintf, extra character printed each line
Hint: >> char( 33:80 ) ans = !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOP it's the counter, i, that caus...

12 years ago | 2

Answered
Why subclass & superclass in OOP?
Your question requires more than an answer here. See the Matlab documentation. There are many introductions to oop on the...

12 years ago | 1

Answered
Matlab listeners multiple execution
I cannot reproduce the behavior you describe with R2013a. However, there might have been a bug although I don't find one in the ...

12 years ago | 0

Answered
Matlab returns Inf for 10^1000.
Because >> realmax( 'double' ) ans = 1.7977e+308 See <http://blogs.mathworks.com/seth/2009/12/02/floating...

12 years ago | 1

Answered
How to write the first line in a text file when opened file as 'a+'
Why not use 'w' instead of 'a+'?

12 years ago | 0

| accepted

Answered
what does three dots in a matlab code represents?
continuation line See: <http://www.mathworks.com/help/matlab/matlab_prog/continue-long-statements-on-multiple-lines.html?sear...

12 years ago | 1

| accepted

Answered
Should I use primary or dependent property?
_"Is my understanding correct"_ . Yes _"my solution reasonable"_ . Yes _"Any options?"_ . I don't think there is any bette...

12 years ago | 0

| accepted

Answered
Pause function in matlab for specified time
Try doc timer

12 years ago | 0

Answered
Timer error: Cannot start timer because it is already running.
There are two problems with your timer: * The values of |StopFcn| causes |stop(tmr)| in |switchoff| to call |stop| a second t...

12 years ago | 0

| accepted

Answered
Using findjobj in R2013a
It seems to work fine here: R2013a, 64bit, Win7 >> desktop = com.mathworks.mde.desk.MLDesktop.getInstance; jEditor =...

12 years ago | 1

Answered
how to create matrices efficiently
Here is a start >> f = @(a) [cos(a), sin(a); sin(a), -cos(a)]; >> f(pi) ans = -1.0000 0.0000 ...

12 years ago | 0

| accepted

Answered
How to delete columns of a matrix containing specific values in bottom row
Test this: is_exclude = ModRows(end,:) < 2; ModRows( :, is_exclude ) = []; or did you mean "<= 2"? And search...

12 years ago | 0

| accepted

Answered
Help with "if" function.
Try if e>=2 && e<=4

12 years ago | 1

Answered
I need to learn the Debugger - is there a good tutorial on the net
Here are some links on debugging in Matlab * <http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/ Debugging in ...

12 years ago | 2

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
**A modest wish:** * The tag "oop" should qualify the post for the Category: Object Oriented Programming.

12 years ago | 0

Answered
Editing superclass properties from subclasses
Why do you want different objects to share ( _"synchronize"_ ) property values? However, without looking at the documentation yo...

12 years ago | 0

| accepted

Answered
Working with unicode paths
Googling taught me * NTFS stores file names in Unicode. * Not all zip-tools are Unicode-aware. * The name of files transfe...

12 years ago | 0

Answered
What is missing from MATLAB?
The Find Files Tools does not honor multi-line comments. I wish it did. I use multi-line comments to comment out "old" code ...

12 years ago | 2

Answered
How to split a variable
See: <http://www.mathworks.se/matlabcentral/answers/57445-faq-how-can-i-create-variables-a1-a2-a10-in-a-loop#answer_69520 FAQ: H...

12 years ago | 0

| accepted

Answered
Why is save/load write/read soooo slooooow?
Doc says: save(filename, ..., version) saves to MAT-files in the specified version: '-v4', '-v6', '-v7',or '-v7.3...

12 years ago | 0

| accepted

Answered
Some problem in taking values from particular text file
Is this what you intended? function Z = cssm A = randi( 12, [965,365] ); Z=[]; n=1; N...

12 years ago | 0

Answered
Converting Custom Class (.mat file) into MATLAB Structs
You can "convert" an instance of the class to a structure md = Mono_Data( ... ); sa = struct( md ); however sa wi...

12 years ago | 0

Answered
Listening to events when Matlab GUI application is idle
An alternative might be to * create a handle class, which creates the listener in the constructor In |startup.m| * cre...

12 years ago | 0

| accepted

Answered
Should <matlabroot>\toolbox\matlab\codetools\ja\ be in the search path? Solved!
*<http://www.mathworks.se/support/solutions/en/data/1-8T166L/index.html Solution ID: 1-8T166L>* answers my first question; the f...

12 years ago | 0

Question


Should <matlabroot>\toolbox\matlab\codetools\ja\ be in the search path? Solved!
When I started R2013a today, 446 warnings like this one were displayed. Warning: Function C:\Program Files\MATLAB\R2013a\...

12 years ago | 1 answer | 0

1

answer

Answered
How can I extract particular columns of a huge text file?
Reading specific chunks of a huge file, that is a job for |memmapfile|. However, character is not in its list of data types. The...

12 years ago | 1

Answered
Have you seen this blog on MATLAB?
Yes, and I read it and nearly forgotten what it says. I have become a Matlab-only-user/programmer. Comments: * The grass is a...

12 years ago | 1

| accepted

Question


More oop weirdness - Cannot clear class
*R2013a doesn't display this problem.* BUG: <http://www.mathworks.com/support/bugreports/893538 893538>, Summary, Object arr...

12 years ago | 1 answer | 0

1

answer

Answered
Taking a tiny part of a huge matrix still matters to calculaltion time ?
Because the sub-matrix is not in a contiguous piece of memory.

12 years ago | 0

Answered
Finding Reaction Time from DateStrings
Try %% str = '2013-08-01 00:30:10:12345'; num = datenum( str, 'yyyy-mm-dd HH:MM:SS:FFF' ); Doc says: ...

12 years ago | 0

Load more