Answered
Can I change the axis scaling after plotting is done?
Give a look at <http://www.mathworks.com/help/techdoc/ref/xlim.html xlim> and <http://www.mathworks.com/help/techdoc/ref/datetic...

15 years ago | 0

Answered
database toolbox - sql query problems
I doubt this syntax is accepted by SQL: 'SELECT ALL Systeemtijd FROM "SWS_Pand OS1 GRFMET 1" WHERE Systeemtijd > ts{'2011-...

15 years ago | 0

Answered
How to plot more than two graphs in one figure?
Use *<http://www.mathworks.com/help/techdoc/ref/plotyy.html plotyy>* Also give a look at the example code I posted in this thre...

15 years ago | 0

Answered
Do you suffer from keyboard latency in this forum?
Got latency problems on 26th of April for writing a longer-than-usual post, but really not severe as Jan's.

15 years ago | 1

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
A *tutorial section* for posts like the following: <http://www.mathworks.com/matlabcentral/answers/6200-how-to-ask-a-question> ...

15 years ago | 3

Answered
How to map the layout of a complicated variable (cells, structures, & arrays) with an "organizational chart"?
Give a look at <http://www.mathworks.com/matlabcentral/fileexchange/?term=vsize vsize> It dissects "complicated" variables.

15 years ago | 0

| accepted

Question


TUTORIAL: how to ask a question (on Answers) and get a fast answer
[ Section I ] HOW TO ASK QUESTIONS AND GET A FAST ANSWER 1) Before asking, did you search: MATLAB documentation (also document...

15 years ago | 14 answers | 108

14

answers

Answered
What evaluates to "true" in matlab?
http://blogs.mathworks.com/loren/2006/11/01/a-logical-story/#1 http://blogs.mathworks.com/loren/2009/11/12/empty-arrays-with-fl...

15 years ago | 1

Answered
Trouble with data import - "No data is available for preview."
Use textscan instead.

15 years ago | 0

| accepted

Answered
variable coefficients-help needed please!!!
I redefined your code as: function dy = funl12(t,y) dy(1,1) = (k1(t).*(y(4)-y(1)).*y(3))./(y(2)+y(3)-1e-12) - k2(t).*y(...

15 years ago | 0

| accepted

Answered
conversion
I think he intends to *repmat* the scalar.

15 years ago | 0

Answered
MATLAB: Unknown variable for heat loss calculation
The problem may arise if the while condition is false from the beginning, then _ho_ won't be declared, thus the error. Place a ...

15 years ago | 1

| accepted

Answered
multiple plot for 3-dimensional array
Use *<http://www.mathworks.com/help/techdoc/ref/squeeze.html squeeze>*: A = rand(16,5,32); B = rand(1,32); plot(squeez...

15 years ago | 1

| accepted

Answered
Reduction in For Loop Execution Time
Use reshape: A = '101010101010'; B = reshape(A,4,[]).';

15 years ago | 0

| accepted

Answered
Fgetl, Fscanf, Fgets, Fprintf Execution Time
Use the profiler to identify the bottlenecks and did you preallocate (if possible) when importing? *EDIT* About preallocation ...

15 years ago | 0

| accepted

Answered
bpsk
% Example input A = randi([0 1],10,1); Cellarray lookup table: B = {'-1', '+1'}; C = B(A+1).'; Or char array table: ...

15 years ago | 0

| accepted

Answered
Number of Digits Displayed in cftool
A) save the fittedmodel object to workspace then: coeff = coeffvalues(fittedmodel) gives you the coefficients with the maxim...

15 years ago | 4

| accepted

Answered
How to define a structure fieldname from a cell contains a string value?
cell2struct(select(2:end,2),select(2:end,1))

15 years ago | 0

Answered
Error using connectpoly
*Intline* should be supplied with the DIPUM TB, if it is missing just google it.

15 years ago | 0

| accepted

Answered
getting data type from a prompt in fread()
data_type=strcat(answer(1),'=>',answer(2)); Should be data_type = [answer{1},'=>',answer{2}]; % Curly brackets to acc...

15 years ago | 0

| accepted

Answered
multiple scatter plot
As an indication give a look at *<http://www.mathworks.com/help/techdoc/ref/plotmatrix.html plotmatrix>*

15 years ago | 0

Answered
Excluding some elements from a Vector
qw = 1:0.4:50; c = [9;17;25;1;43]; tol = .5; *(a) Bsxfun solution* Out = qw(~any(bsxfun(@ge, qw, c-tol) & bsxfun...

15 years ago | 0

| accepted

Answered
Creating variables in a for loop
Look at this <http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F>

15 years ago | 0

| accepted

Answered
How to simplify
If _a_ is sym: double(a)

15 years ago | 1

| accepted

Answered
k means clustering and SSE
% Random data xy = [rand(100,2)*2+3; rand(100,2)]; % Visualize clouds scatter(xy(:,1),xy(:,2)) close % Cluster ...

15 years ago | 1

Answered
Creation and evaluation of a variable containing a variable in reasonable time
The handle solution: A = @(t) [1 -t; 2 t]; B = @(x) A(x) B(3)

15 years ago | 0

Answered
connection to MySQL and Matlab 2010
You have to set up you DSN first manually: system('%SystemRoot%\system32\odbcad32.exe');

15 years ago | 0

Answered
simple matrix
fliplr(tril(ones(10),-1)) or rot90(tril(ones(10),-1)) *EDIT#2* (per Matt's suggestion) Timings of: a) fliplr b) rot90...

15 years ago | 3

Answered
VLOOK UP function in Matlab
Use ismember

15 years ago | 0

Answered
Report Generator - Writing subscripts within text
*EDIT* This is what you get %% % My solution: % % $$ Q_{turbine} $$ % % Jarrod's: % % <html> % Q<sub>turbin...

15 years ago | 0

Load more