罗兰关于MATLAB的艺术 https://blogs.mathworks.com/loren Loren Shure对MATLAB语言的设计感兴趣。她是一名应用工程师,在这里撰写有关MATLAB编程和相关主题的文章。 2021年3月17日星期三12:49:16+0000 en - us 每小时 1. https://wordpress.org/?v=4.9.15 mathworks /罗兰 https://feedburner.google.com 订阅我的雅虎! 订阅Feedly 订阅与SubToMe 与博客订阅订阅 订阅Netvibes 使用Bitty浏览器订阅 每日轮流订阅 提高MATLAB代码运行速度的一个主要案例研究 http://feedproxy.google.com/~r/mathworks/loren/~3/r_DuF72m6xw/ https://blogs.mathworks.com/loren/2021/03/16/a-prime-case-study-for-making-matlab-code-go-faster/#comments 2021年3月16日星期二12:15:51+0000 罗兰美国舒尔 最佳实践 表演 https://blogs.mathworks.com/loren/?p=4016

今天我要欢迎一位客座博主,迈克·克劳奇,他最近加入了MathWorks,作为一名客户成功工程师,在长期从事支持学术计算研究之后阅读更多>>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“/>

今天我要欢迎一位客座博主,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 >>

https://blogs.mathworks.com/loren/2021/03/16/a-prime-case-study-for-making-matlab-code-go-faster/feed/ 6. https://blogs.mathworks.com/loren/2021/03/16/a-prime-case-study-for-making-matlab-code-go-faster/?s_tid=feedtopost
一劳永逸 http://feedproxy.google.com/~r/mathworks/loren/~3/L5HuFr1TSE8/ https://blogs.mathworks.com/loren/2021/02/24/once-and-for-all/#comments 2021年2月24日星期三16:09:31+0000 罗兰美国舒尔 表演 矢量化 https://blogs.mathworks.com/loren/?p=3972

我正在和我的老同事迈克·克劳奇(Mike Croucher)聊天,他最近加入了MathWorks团队(耶!)。关于一堆有趣的话题,其中一些可以作为博客文章的素材。今天我阅读更多>>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“我和我的老同事Mike Croucher聊天,他最近加入了MathWorks团队(耶!)关于一堆有趣的话题,其中一些可以成为一篇博客文章的好素材。Today I want to talk about for-loops. Table of Contents Nested Loops Straight-forward Loop Solution, Inner Loop Rows Straight-forward Loop Solution, Inner Loop Columns Vectorized Solution Analysis Order Matters Your Thoughts? Nested Loops In my old Fortran programming days (yes, long gone), I learned early on that my code ran faster if I arranged my nested for-loops optimally. In Fortran, if I were computing one element at a time in a matrix, it meant making sure I filled the elements sequentially, which meant looping over each row, 1

...read more >>

https://blogs.mathworks.com/loren/2021/02/24/once-and-for-all/feed/ 14 https://blogs.mathworks.com/loren/2021/02/24/once-and-for-all/?s_tid=feedtopost
分页矩阵函数 http://feedproxy.google.com/~r/mathworks/loren/~3/RNe3wbbuABQ/ https://blogs.mathworks.com/loren/2021/01/14/paged-matrix-functions/#comments 2021年1月14日星期四18:27:49 +0000 罗兰美国舒尔 数学知识 新功能 表演 可读性 https://blogs.mathworks.com/loren/?p=3937

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width:500px;" src="//www.tianjin-qmedu.com/blogs/loren/files/pagedMatrixFcnsBlog_1.png" onError="this.onerror=null; this.src='https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg';" />

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 >>

https://blogs.mathworks.com/loren/2021/01/14/paged-matrix-functions/feed/ 10 https://blogs.mathworks.com/loren/2021/01/14/paged-matrix-functions/?s_tid=feedtopost
如何绘制我的一年(Redux) http://feedproxy.google.com/~r/mathworks/loren/~3/C-5vfj8KuqE/ https://blogs.mathworks.com/loren/2020/12/22/how-to-chart-my-year-redux/#respond Tue, 22 Dec 2020 13:32:15 +0000 罗兰美国舒尔 图形 https://blogs.mathworks.com/loren/?p=3911

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width:500px;" src="//www.tianjin-qmedu.com/blogs/images/loren/2020/yearRedux_01.png" onError="this.onerror=null; this.src='https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg';" />

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 Year

Here's the

...read more >>

https://blogs.mathworks.com/loren/2020/12/22/how-to-chart-my-year-redux/feed/ 0 https://blogs.mathworks.com/loren/2020/12/22/how-to-chart-my-year-redux/?s_tid=feedtopost
搜索字符串时有压力吗? http://feedproxy.google.com/~r/mathworks/loren/~3/UNJeozQ-C_E/ 2020年12月3日星期四12:22:00+0000 罗兰美国舒尔 新功能 字符串 https://blogs.mathworks.com/loren/?p=3882

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“/>

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 >>

https://blogs.mathworks.com/loren/2020/12/03/stressed-when-searching-for-strings/?s_tid=feedtopost
从你的领域之外寻找灵感 http://feedproxy.google.com/~r/mathworks/loren/~3/h_Fy1GzDcmE/ 周四,19 Nov 2020 14:09:53 +0000 罗兰美国舒尔 消息 https://blogs.mathworks.com/loren/?p=3872

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/images/loren/2020/mbcIOL.png " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“

我不知道你是否经常读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 >>

https://blogs.mathworks.com/loren/2020/11/19/find-inspiration-from-outside-your-zone/?s_tid=feedtopost
用MATLAB进行天体摄影:猎户座星云成像 http://feedproxy.google.com/~r/mathworks/loren/~3/KydwRIjzWbQ/ https://blogs.mathworks.com/loren/2020/11/06/astrophotography-with-matlab-imaging-the-orion-nebula/#comments 2020年11月6日星期五13:07:58+0000 罗兰美国舒尔 图像处理 https://blogs.mathworks.com/loren/?p=3859

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/images/loren/2020/TelescopeAndCamera.jpg " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“/>

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 >>

https://blogs.mathworks.com/loren/2020/11/06/astrophotography-with-matlab-imaging-the-orion-nebula/feed/ 23 https://blogs.mathworks.com/loren/2020/11/06/astrophotography-with-matlab-imaging-the-orion-nebula/?s_tid=feedtopost
用局部平均值填充图像NaN值 http://feedproxy.google.com/~r/mathworks/loren/~3/rC-S_oXsOu4/ https://blogs.mathworks.com/loren/2020/10/20/fill-image-nan-values-with-local-average/#comments 2020年10月20日星期二12:14:25+0000 罗兰美国舒尔 图像处理 https://blogs.mathworks.com/loren/?p=3851

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width:500px;" src="//www.tianjin-qmedu.com/blogs/images/loren/2020/nanfilling_01.png" onError="this.onerror=null; this.src='https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg';" />

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 data

Let'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 >>

https://blogs.mathworks.com/loren/2020/10/20/fill-image-nan-values-with-local-average/feed/ 2. https://blogs.mathworks.com/loren/2020/10/20/fill-image-nan-values-with-local-average/?s_tid=feedtopost
优化工具箱中的自动微分™ http://feedproxy.google.com/~r/mathworks/loren/~3/Sw217wPFhCA/ https://blogs.mathworks.com/loren/2020/10/06/automatic-differentiation-in-optimization-toolbox/#comments 2020年10月6日星期二13:03:37+0000 罗兰美国舒尔 新功能 优化 https://blogs.mathworks.com/loren/?p=3845

This column is written by Alan Weiss, the writer for Optimization Toolbox documentation. Take it away, Alan.... read more >>

本专栏由艾伦·韦斯撰写,优化工具箱文档的编写者。把它拿走,艾伦。

嗨,伙计们。你可能知道,当你有函数的梯度时,解决一个优化问题,也就是找到一个函数最小化的点,是比较容易的。这很容易理解:坡度指向上坡,所以如果你朝相反的方向行驶,通常会达到最小值。优化工具箱算法基于比此更复杂的算法,但这些更复杂的算法也受益于梯度。

如何将梯度与函数一起提供给解算器?直到最近,您还必须将梯度作为一个单独的输出进行计算,并考虑到由此带来的所有痛苦和可能的错误。然而,对于R2020b,基于问题的方法使用自动微分来计算一般非线性优化问题的问题梯度。我将解释所有这些词的含义。在a

阅读更多信息>&燃气轮机

https://blogs.mathworks.com/loren/2020/10/06/automatic-differentiation-in-optimization-toolbox/feed/ 11 https://blogs.mathworks.com/loren/2020/10/06/automatic-differentiation-in-optimization-toolbox/?s_tid=feedtopost
美国超额死亡率分析 http://feedproxy.google.com/~r/mathworks/loren/~3/fgmomeq8rnc/ https://blogs.mathworks.com/loren/2020/09/16/excess-mortality-analysis-for-the-usa/#comments 三,16 Sep 2020 19:59:53 +0000 罗兰美国舒尔 教育 如何 消息 https://blogs.mathworks.com/loren/?p=3831

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 >>

< div > < img风格= "显示:块;保证金:汽车;max-width: 500 px; " src = " https://blogs.mathworks.com/images/loren/2020/covidAnalysisInM_01.png " onError = " this.onerror =零;this.src = ' https://blogs.mathworks.com/wp-content/themes/mathworks_1.0/images/placeholder_5.jpg ';“今天的客座博客是Jos Martin,来自MathWorks的并行计算团队。虽然通常专注于使并行计算在MATLAB中既简单又快速,偶尔他喜欢使用MATLAB探索其他问题空间。在这里,他写了关于使用MATLAB中CDC提供的一些数据集来分析和可视化美国各地的额外死亡统计数据。

Contents
Introduction获取数据初始数据清洗What's Happening in Massachusetts?整个美国怎么样?有多少州超过上限?哪些状态

read more >>

https://blogs.mathworks.com/loren/2020/09/16/excess-mortality-analysis-for-the-usa/feed/ 4. https://blogs.mathworks.com/loren/2020/09/16/excess-mortality-analysis-for-the-usa/?s_tid=feedtopost