From: Duane Hanselman on
Here's a list of most annoying cssm posts. (Started in a different
thread.) Please add yours as well as suggested replies. I'd like to
keep this around so annoying posts can get quick "cut and paste"
answers.

1. Please give me my plp.

Reply: <http://www.mathworks.com/support/solutions/data/1-16LU2.html?solution=1-16LU2>

2. I have homework due tomorrow. Can you tell me how to do it?

Reply: The folks here at cssm are busy professionals. We generally do
not do homework for others because we did ours when we were in
school. If you show us what you have done so far and ask a specific
question about it, you may get debugging help.

3. I'm new at MATLAB and I'm doing a project on "some topic name".
Please send me anything you have.
(Or) I'm doing graduate research on "some topic name". Please send me
the code (so I can my degree).

Reply: You can find plenty of information on your topic by searching
the internet. You can also search through the MATLAB File Exchange <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do>
or MATLAB functions that are helpful.

4. Can you tell me what is wrong with the following code? (many lines
of uncommented code with no description of what it is supposed to do)
Reply: ?

5. Why does 1 not equal 1? (or any other equality comparison using
floating point numbers) This must be a bug in MATLAB.
Reply: ?

6. How come The Mathworks employees haven't responded to my post?
(Or) I posted this request an hour ago, why hasen't anyone answered
it yet?
Reply: ?
From: Rune Allnor on

Duane Hanselman skrev:
> Here's a list of most annoying cssm posts. (Started in a different
> thread.) Please add yours as well as suggested replies. I'd like to
> keep this around so annoying posts can get quick "cut and paste"
> answers.
>
> 1. Please give me my plp.
>
> Reply: <http://www.mathworks.com/support/solutions/data/1-16LU2.html?solution=1-16LU2>
>
> 2. I have homework due tomorrow. Can you tell me how to do it?
>
> Reply: The folks here at cssm are busy professionals. We generally do
> not do homework for others because we did ours when we were in
> school. If you show us what you have done so far and ask a specific
> question about it, you may get debugging help.
>
> 3. I'm new at MATLAB and I'm doing a project on "some topic name".
> Please send me anything you have.
> (Or) I'm doing graduate research on "some topic name". Please send me
> the code (so I can my degree).
>
> Reply: You can find plenty of information on your topic by searching
> the internet. You can also search through the MATLAB File Exchange <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do>
> or MATLAB functions that are helpful.
>
> 4. Can you tell me what is wrong with the following code? (many lines
> of uncommented code with no description of what it is supposed to do)
> Reply: ?
>
> 5. Why does 1 not equal 1? (or any other equality comparison using
> floating point numbers) This must be a bug in MATLAB.
> Reply: ?
>
> 6. How come The Mathworks employees haven't responded to my post?
> (Or) I posted this request an hour ago, why hasen't anyone answered
> it yet?
> Reply: ?

7. Why doesn't the MCC compiler speed up my code?

Reply: Matlab is a lab tool intended to test ideas quickly. To that
end,
lots of programming details have been sacrificed from the language,
that
makes it all but impossible to compile it. The MCC compiler basically
wraps the matlab interpreter around your m or p code to make it
run independently of matlab.

8. How can i vectorize my code to make matlab run faster?

Reply: Matlab is a lab tool intended to test ideas quickly. To that
end,
certain program run-time details have been over-simplified at the
expense of run-time perfomance. As long as you have a double-nested
for-loop, you may be able to obtain some run-time improvement.
Be aware, though, that this performance is obtained at the cost of
increased memory usage.

Rune

From: Loren Shure on
Rune Allnor wrote:
> Duane Hanselman skrev:
>> Here's a list of most annoying cssm posts. (Started in a different
>> thread.) Please add yours as well as suggested replies. I'd like to
>> keep this around so annoying posts can get quick "cut and paste"
>> answers.
>>
>> 1. Please give me my plp.
>>
>> Reply: <http://www.mathworks.com/support/solutions/data/1-16LU2.html?solution=1-16LU2>
>>
>> 2. I have homework due tomorrow. Can you tell me how to do it?
>>
>> Reply: The folks here at cssm are busy professionals. We generally do
>> not do homework for others because we did ours when we were in
>> school. If you show us what you have done so far and ask a specific
>> question about it, you may get debugging help.
>>
>> 3. I'm new at MATLAB and I'm doing a project on "some topic name".
>> Please send me anything you have.
>> (Or) I'm doing graduate research on "some topic name". Please send me
>> the code (so I can my degree).
>>
>> Reply: You can find plenty of information on your topic by searching
>> the internet. You can also search through the MATLAB File Exchange <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do>
>> or MATLAB functions that are helpful.
>>
>> 4. Can you tell me what is wrong with the following code? (many lines
>> of uncommented code with no description of what it is supposed to do)
>> Reply: ?
>>
>> 5. Why does 1 not equal 1? (or any other equality comparison using
>> floating point numbers) This must be a bug in MATLAB.
>> Reply: ?
>>
>> 6. How come The Mathworks employees haven't responded to my post?
>> (Or) I posted this request an hour ago, why hasen't anyone answered
>> it yet?
>> Reply: ?
>
> 7. Why doesn't the MCC compiler speed up my code?
>
> Reply: Matlab is a lab tool intended to test ideas quickly. To that
> end,
> lots of programming details have been sacrificed from the language,
> that
> makes it all but impossible to compile it. The MCC compiler basically
> wraps the matlab interpreter around your m or p code to make it
> run independently of matlab.
>
> 8. How can i vectorize my code to make matlab run faster?
>
> Reply: Matlab is a lab tool intended to test ideas quickly. To that
> end,
> certain program run-time details have been over-simplified at the
> expense of run-time perfomance. As long as you have a double-nested
> for-loop, you may be able to obtain some run-time improvement.
> Be aware, though, that this performance is obtained at the cost of
> increased memory usage.
>
> Rune
>

Here's a link to a tech note on vectorization:
http://www.mathworks.com/support/tech-notes/1100/1109.html

and here's a link to some new 2006b doc on floating point accuracy:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_prog/index.html?/access/helpdesk/help/techdoc/matlab_prog/f2-98645.html



--
--Loren
http://blogs.mathworks.com/loren/
From: Christopher Hulbert on
Duane Hanselman wrote:
> Here's a list of most annoying cssm posts. (Started in a different
> thread.) Please add yours as well as suggested replies. I'd like to
> keep this around so annoying posts can get quick "cut and paste"
> answers.
>
> 1. Please give me my plp.
>
> Reply: <http://www.mathworks.com/support/solutions/data/1-16LU2.html?solution=1-16LU2>
>
> 2. I have homework due tomorrow. Can you tell me how to do it?
>
> Reply: The folks here at cssm are busy professionals. We generally do
> not do homework for others because we did ours when we were in
> school. If you show us what you have done so far and ask a specific
> question about it, you may get debugging help.
>
> 3. I'm new at MATLAB and I'm doing a project on "some topic name".
> Please send me anything you have.
> (Or) I'm doing graduate research on "some topic name". Please send me
> the code (so I can my degree).
>
> Reply: You can find plenty of information on your topic by searching
> the internet. You can also search through the MATLAB File Exchange <http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do>
> or MATLAB functions that are helpful.
>
> 4. Can you tell me what is wrong with the following code? (many lines
> of uncommented code with no description of what it is supposed to do)
> Reply: ?
>
> 5. Why does 1 not equal 1? (or any other equality comparison using
> floating point numbers) This must be a bug in MATLAB.
> Reply: ?
>
> 6. How come The Mathworks employees haven't responded to my post?
> (Or) I posted this request an hour ago, why hasen't anyone answered
> it yet?
> Reply: ?

Why does Matlab not work on <architecture>
* AMD 64 - Link to suggestions about LD_ASSUME_KERNEL, BLAS, etc.
* Intel Macs - R2007a?

certainly the AMD 64 gets a lot of traffic
From: Scott Seidman on
"Rune Allnor" <allnor(a)tele.ntnu.no> wrote in news:1158155787.108329.267460
@p79g2000cwp.googlegroups.com:

> 8. How can i vectorize my code to make matlab run faster?
>

Back in the day before JIT optimization, vectorization made a HUGE
difference, and these threads were very interesting as they often involved
issues of best coding practice specific to Matlab. Today, it's not so
important, but vectorization can also make code much more readable-- of
course, it could also make code much more cryptic.

I don't disagree with Matlab intended to be a fast prototyping tool, but I
don't agree that this was necessarily it's major design issue, and matlab
certainly satisfies the needs of many that go far beyond this use.

--
Scott
Reverse name to reply
 |  Next  |  Last
Pages: 1 2 3 4 5 6
Prev: Calling .NET from MATLAB
Next: Image Averaging