抓虾帮你轻松订阅、收藏、分享博客和新闻等。 订阅 关闭
共有109篇 | 以下是第11-20篇 | 只浏览标题 <   1   2   3   4   5   6  >  
Recently someone at MathWorks asked me how he could automate the renaming of a bunch of M-files containing underscores ('_') in the names with derived names that removed the underscores and used camelCasing instead. You may have similar name manipulation operations you need to perform. ...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
Keeping Things Tidy 查看全文   2008-03-10 20:38:56
In the past, when you opened a file in a MATLAB program, you had to keep track of it so you could close it under all possible conditions, i.e., if reading or processing failed, worked partially, or worked perfectly. You could achieve this using the catch block after a tr...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
The first 2008 semi-annual release of MathWorks products is now available, R2008a. Over the next few months, some of my blog articles will highlight new features. Contents Highlights of Highlights of New Features for MATLAB What Are Yours? ...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
Do you ever need both the minimum and maximum values on the same data? Sometimes I do, for example, when I want to tweak the limits of a 2-dimensional plot. So I was wondering whether that is a common task? I also wondered what the overhead is in calling min and max sep...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
New Simulink Blog on mathworks.com I'm very pleased to announce that we have a new blog on mathworks.com. We now have Seth on Simulink. Please read his blog for insight into Simulink, how to use it, what are the new features, etc.
Get the MATLAB code (requires JavaScript)

...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
The MATLAB function accumarray seems to be under-appreciated. accumarray allows you to aggregate items in an array in the way that you specify. Contents Newsgroup Statistics Recent Questions Next We Accumulate Another Way to Ac...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
Cool MATLAB Plots 查看全文   2008-02-16 00:44:05
There are many cool plots made in MATLAB across the web. I have set up for myself a way to find new ones on flickr, a website for sharing photos. Contents Systematically Find Plots Who's Posting? Notice Anything Else? Syst...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
Sometimes I am asked questions like "why did you introduce function xyz into MATLAB? And sometimes I have a compelling answer, even for something that looks simple on the surface. Consider the function hypot. Contents What Does hypot Compute? ...
 展开
发给朋友   转到小组   (打标签) 收藏   推荐  
This post continues in the theme of other recent ones, questions frequently posed to me (and probably others). It has to do with initializing structures. There is a healthy set of posts on the MATLAB newsgroup devoted to this topic. So let's peel things apart today. ...