Published


HGSETGETPLUS – an extension to HGSETGET
div.italic { font-style: italic; } div.quote { background-color: #EEEEEE; font-style: italic; } div.mlcode...

15 years ago

Thumbnail

Answered
How to set excel cell color to red from Matlab?
This works for me: % Connect to Excel Excel = actxserver('excel.application'); % Get Workbook object WB = Excel....

15 years ago | 10

| accepted

Answered
Surface fitting problem
I assume you are using version R2010a or older. Your syntax should work for the newer versions. You seem to have vectors for ...

15 years ago | 0

Answered
How to read external file data from a .xls file into matlab
If you're on Windows, you can use the <http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/brd0v8r.html COM cl...

15 years ago | 2

Published


Super Mario Song!!
Jiro's pick this week is Super Mario Song by James Humes. This week, I'm going to cheat a little bit. I'm...

15 years ago

Thumbnail

Answered
field delimiter uses any char as to declare a new field instead of full string
Use <http://www.mathworks.com/help/matlab/matlab_prog/f0-42649.html Regular Expressions>, such as <http://www.mathworks.com/help...

15 years ago | 1

Answered
MATLAB "Out of memory" problem
Read through the links in Andreas's answer. And I agree with Andreas and Oleg about the question of "why you need such a big mat...

15 years ago | 0

Answered
Dynamic changing values
Just redefine |a| and |d| after you update the other values: for id = 1:100 a = x1*b + x2 * c d = x1*e + x2 * f...

15 years ago | 0

Answered
Compose with validateattributes
Considering that you require a workaround anyway, I might go with this for your specific case: p.addParamValue('w',1, @(x) ...

15 years ago | 0

Answered
Add a new Excel sheet from Matlab
According to the <http://msdn.microsoft.com/en-us/library/bb179213(v=office.12).aspx VBA documentation on MSDN>, to add after th...

15 years ago | 6

| accepted

Published


2004 in Review: Looking Backward
It's been over seven years (!) since the Pick of the Week blog was started by my co-workers Scott Hirsch and Doug Hull....

15 years ago

Thumbnail

Answered
Help regarding "format long"
Take a look at this <http://matlab.wikia.com/wiki/FAQ#Why_is_0.3_-_0.2_-_0.1_.28or_similar.29_not_equal_to_zero.3F FAQ>.

15 years ago | 0

Answered
Tabbing between opened Editor tabs
"Ctrl-Page Up" and "Ctrl-Page Down" will let you switch between different tabs.

15 years ago | 8

| accepted

Answered
How to use the Fminsearch in in MATLAB 6.5?
You are using <http://www.mathworks.com/help/matlab/matlab_prog/f4-70115.html anonymous functions>, which were introduced in MAT...

15 years ago | 0

| accepted

Answered
Implementing an hgsetget subclass
This is interesting. It does seem like the documentation isn't complete. It mentions how calling the <http://www.mathworks.com/h...

15 years ago | 1

Answered
How do I start matlab from shell in 32 bit mode
On Linux, try running matlab -glnx86

15 years ago | 1

Answered
Drawing and animation in Matlab
Just a little more fun... (adding on to Matt's and Paulo's ideas) % paths = randi(5, [4, 6]) paths = ceil(5*rand(4, 6)) [...

15 years ago | 0

Answered
Problem with addOptional
Those variable |u|, |t|, and |p| are available as fields of |p.Results|. So if you need to use them in the rest of the program, ...

15 years ago | 2

Answered
How long have you been using matlab? tell us your story
I would say I've been using MATLAB consistently for about 11 years, since my first year in graduate school. In undergraduate, ...

15 years ago | 2

Answered
need a help
I have a hard time trying to decipher the form of your problem because of formatting, but <http://www.mathworks.com/access/helpd...

15 years ago | 0

Published


Markov Regime Switching Models in MATLAB
NoteThe file submission referenced in this post is no longer available on File Exchange. Michael's pick this week is...

15 years ago

Thumbnail

Answered
When using ODE45 (or similar functions), what is the benefit of using anonymous functions over passing additional parameters as trailing arguments?
These are some comments I received from a developer: # Some of the newer <http://www.mathworks.com/help/techdoc/learn_matla...

15 years ago | 6

| accepted

Question


When using ODE45 (or similar functions), what is the benefit of using anonymous functions over passing additional parameters as trailing arguments?
When I want to solve a differential equation with additional parameters function dx = myfun(t, x, p1, p2) ... using <...

15 years ago | 1 answer | 6

1

answer

Answered
Velocity_vs_time graph
Perhaps plot(t, x(:, 2))

15 years ago | 1

Answered
How to run response surface models in design of experiments ? what the steps or any GUI?
I would go through <http://www.mathworks.com/access/helpdesk/help/toolbox/stats/f58463.html this section> in the documentation. ...

15 years ago | 0

Answered
What is epoch?
From to the <http://www.mathworks.com/help/toolbox/nnet/gloss.html#6837 glossary>: _*epoch* - Presentation of the set of trai...

15 years ago | 0

| accepted

Answered
How to fit data to my customized form automatically?
Since you're already using Curve Fitting Toolbox, use the underlying functions: <http://www.mathworks.com/access/helpdesk/help/t...

15 years ago | 0

| accepted

Answered
send bits from matlab to ehternet port
One option is to use the function <http://www.mathworks.com/access/helpdesk/help/toolbox/instrument/tcpip.html |tcpip|> (require...

15 years ago | 0

Answered
fzeros
With the possibility of stating the obvious, do you mean "fzero" (instead of "fzeros")? And if so, have you read the documentati...

15 years ago | 0

Answered
Some Foreign Matlab forums
When I was in graduate school, I used to use CSSM almost every day. I haven't been there lately. Now, I peruse MATLAB Answers da...

15 years ago | 1

| accepted

Load more