今天我要欢迎一位客座博主,迈克·克劳奇,他最近加入了MathWorks,作为一名客户成功工程师,在长期从事支持学术计算研究之后阅读更多>>
今天我要欢迎一位客座博主,Mike Croucher,他最近加入了MathWorks作为客户成功工程师,在长期支持学术计算研究之后。万博1manbetxTable of ContentsIntroduction Don't Fear the Looper Changing mod to floor Trying Integer Types for an Integer Algorithm MATLAB as a Repository of Algorithms System Information Your Need for Speed?IntroductionMost of my career has been dedicated to collaborating with scientists and engineers to improve their computational workflows. There are many things that could be done including encouraging the use of version control or unit testing
...read more >>
我正在和我的老同事迈克·克劳奇(Mike Croucher)聊天,他最近加入了MathWorks团队(耶!)。关于一堆有趣的话题,其中一些可以作为博客文章的素材。今天我阅读更多>>
...read more >>
Today's guest blogger is Mary Fenelon, who is the product marketing manager for Optimization and Math here at MathWorks. In today's post she describes how using the new paged matrix functions can... read more >>
Today's guest blogger is Mary Fenelon, who is the product marketing manager for Optimization and Math here at MathWorks. In today's post she describes how using the new paged matrix functions can simplify your code and improve performance. Table of Contents Paged Matrix Functions Easier Faster More Helper Functions A batched, page-wise matrix multiply function pagemtimes, along with page-wise transpose pagetranspose, and complex conjugate transpose pagectranspose functions, were added to MATLAB® in R2020b. The new functions make operations where an N-D array is a container for dense matrices easier to write and faster to
...read more >>
Earlier this year, I blogged about charting my year of travels. Well, my year didn't go the way I expected it to go. The same for (almost?) everyone else.... read more >>
Earlier this year, I blogged about charting my year of travels. Well, my year didn't go the way I expected it to go. The same for (almost?) everyone else.
Here's part of what I wrote: I travel a lot. Mostly for work. I do try to take advantage of the priviledge - visiting so many amazing places -- and spend a little extra time occasionally. People even joke that I should be writing a travel blog. Of course I prefer to write one on MATLAB. But how about combining these just for fun today.
Little did I know what the year had to bring to us. But I promised to fill in my year with pictures, and I will do the best I can here.
ContentsMy "Calendar" for This YearTwo Pictures Not from New EnglandMy "Calendar" for This YearHere's the
...read more >>
Do you get clammy hands when you have to search for a string pattern, not just a particular string? Does the thought of struggling with regexp make you sweat?... read more >>
Do you get clammy hands when you have to search for a string pattern, not just a particular string? Does the thought of struggling with regexp make you sweat?
Well worry no more! Many of your searches may now be done more easily using the new pattern feature in MATLAB. And in some cases, you can get away with even less.
For today's post, my co-authors are Jason Breslau and Curtis Anderson, since they know MUCH more about regexp than me, and many more nuances about the functionality. We're going to do this by showcasing a few examples. You might also want to check out Jiro's recent Pick of the Week.
ContentsExample 0: For Those Who Love regexp...read more >>
I don't know if you usually read MathWorks magazine, MathWorks News & Notes; I do. I find it inspiring, am amazed with our customers' creativity, grateful for the solutions of real-world problems, and more. For example, in addition to finding an article on using computer vision to "remove the water" from underwater images fascinating, it makes me wish I could go snorkeling somewhere soon!... read more >>
我不知道你是否经常读MathWorks magazine, MathWorks News &笔记;I do. I find it inspiring, am amazed with our customers' creativity, grateful for the solutions of real-world problems, and more. For example, in addition to finding an article on using computer vision to "remove the water" from underwater images fascinating, it makes me wish I could go snorkeling somewhere soon!
One of the things I have noticed is that the magazine sparks my thoughts to incorporate some of the new ideas from completely different domains into work I am doing myself. Even if this doesn't pan out, I have learned something new.
Several years after finishing my PhD thesis and successfully defending it, I found out that
...read more >>
Today I'd like to welcome two guest bloggers. David Garrison is a MATLAB Product Manager here at MathWorks. Andrei Ursache is a member of the Advanced Support Group with expertise in image acquisition and instrument control. This is the first in an occasional series of blog posts describing how they are doing astrophotography with MATLAB.... read more >>
David Garrison is a MATLAB Product Manager here at MathWorks. Andrei Ursache is a member of the Advanced Support Group with expertise in image acquisition and instrument control. This is the first in an occasional series of blog posts describing how they are doing astrophotography with MATLAB.
Thanks Loren. This is Dave. I'm going to tell you how we got started with this project and the equipment we're using. Andrei will then take over and tell you how we got our first deep-sky object images and how we've stacked and processed those images using MATLAB and the Image Processing Toolbox.
ContentsOur Interest in AstronomyThe EquipmentImaging the Orion NebulaReading the image files...read more >>
Recently we had a customer ask how to fill in NaN values in an image with a neighborhood local mean. My friend, colleague, and occasional blogger, Brett Shoelson, joins me today to show you several viable techniques.... read more >>
Recently we had a customer ask how to fill in NaN values in an image with a neighborhood local mean. My friend, colleague, and occasional blogger, Brett Shoelson, joins me today to show you several viable techniques.
ContentsCreate dataUse regionfill to Replace NaNs - Solution 1Replace NaNs with Local Average - Solution 2HmmmUse Region Labeling to Fill - Solution 3Others?Create dataLet's create an image and artificially create some holes with NaNs. It's a image of type uint8, and can't represent NaN values so we are going to convert to
...read more >>
This column is written by Alan Weiss, the writer for Optimization Toolbox documentation. Take it away, Alan.... read more >>
本专栏由艾伦·韦斯撰写,优化工具箱文档的编写者。把它拿走,艾伦。
嗨,伙计们。你可能知道,当你有函数的梯度时,解决一个优化问题,也就是找到一个函数最小化的点,是比较容易的。这很容易理解:坡度指向上坡,所以如果你朝相反的方向行驶,通常会达到最小值。优化工具箱算法基于比此更复杂的算法,但这些更复杂的算法也受益于梯度。如何将梯度与函数一起提供给解算器?直到最近,您还必须将梯度作为一个单独的输出进行计算,并考虑到由此带来的所有痛苦和可能的错误。然而,对于R2020b,基于问题的方法使用自动微分来计算一般非线性优化问题的问题梯度。我将解释所有这些词的含义。在a
Today's guest blogger is Jos Martin, from the Parallel Computing team at MathWorks. Whilst normally focussing on making parallel computing both easy and fast in MATLAB, occasionally he likes to use MATLAB to explore other problem spaces. Here, he writes about using some CDC provided datasets in MATLAB to analyse and visualize excess death statistics across the US.... read more >>