Editing (Another) Function While Stopped at a Breakpoint

I find myself needing to update one of my functions that takes a while to run, in this case, to replace the contents of a large string array depending on certain criteria. I want to have the data available to operate on, so I will stop at a breakpoint. Features covered in this code-along style video include: Debugging, Code...

标签: Code-Along, Format: Video

Stuart’s MATLAB Videos

2019-09-06 13:19:57

Curling Game Update: App Designer and Stateflow

Someone recently challenged me to convert the curling simulator we published a few years ago (See this post and this post) to take advantage of new features not available at that time: App Designer and Stateflow for MATLAB. As you can guess, this is not the kind of challenge I can say no to! You can find the final result...

标签: Fun, Stateflow, What's new?

Guy on188bet开户

2019-09-06 10:28:00

MATLAB wins Hackathon

This post is from Paola Jaramillo, Application Engineer from the Benelux office. Back in February, I attended a hackathon hosted by Itility: meeting for 3 hours to solve an image classification problem while also enjoying pasta and networking with peers. I was there primarily to learn and see how other engineers and researchers were using machine learning in...

标签: Uncategorized

Deep Learning

2019-09-03 15:01:10

Using reshape to rearrange image color components

I recently saw some code that transformed the RGB pixel values of an image into a Px3 matrix, such that each row contained the red, green, and blue color components of a single pixel. Today I want to show that code fragment, explain it, and then demonstrate what I think is the fastest possible to perform that transformation in MATLAB.I...

标签: Uncategorized

Steve on Image Processing and MATLAB

2019-08-30 16:08:16

Mind-controlled robot that works without brain implants

Mind-controlled robots have long been featured in science fiction, but thanks to new research in brain-computer interfaces (BCIs), they are no longer fiction. BCIs are enabling thought-controlled external devices. BCIs are communication pathways between the brain and an external device that translate a person’s brain activity into a signal that controls the external device, such as a robot. A...

标签: Uncategorized

Behind the Headlines

2019-08-29 17:30:56

Kuramoto Model of Synchronized Oscillators

Fireflies on a summer evening, pacemaker cells, neurons in the brain, a flock of starlings in flight, pendulum clocks mounted on a common wall, bizarre chemical reactions, alternating currents in a power grid, oscillations in SQUIDs (superconducting quantum interference devices). These are all examples of synchronized oscillators.The Kuramoto model is a nonlinear dynamic system of coupled oscillators that initially have random natural frequencies and phases. If the coupling is strong enough, the system will evolve to one with all oscillators in phase....

标签: Uncategorized

Cleve’s Corner: Cleve Moler on Mathematics and Computing

2019-08-26 12:00:27

Estimating pi Using Buffons Method

I recently attended the ICIAM meeting in Valencia, Spain which meant I got to hang out with my pals Carlos Sanchis and Lucas Garcia :-)! Carlos showed me a problem he was working with Professor Fernando Gimnez from UPV regarding an app for estimating $\pi$ using Buffon's method. Here's the problem statement from Wikipedia:Suppose we have a floor made of parallel strips of wood, each the same width, and we drop a needle onto the floor. What is the probability that the needle will lie across a line between two strips?Interesting that the original intention had nothing to do with computing $\pi$ ! There's some fun, powerful, yet fairly easy code to demonstrate the algorithm....

标签: Fun

Loren on the Art of MATLAB

2019-08-22 08:37:13

A quick dip in the lake

As summer vacation comes to an end and schools get back into session, I hope that you, the reader, enjoyed the fine weather and great outdoors. Cloud - check! Lake - check! Any guesses as to where I took this picture? The midwest US, where I lived for more than a decade, is home to nearly one-fifth of...

标签: Cloud, External Interfaces, Third Party Integration

Developer Zone

2019-08-20 17:25:48

Saving State in a WindowButtonMotionFcn Callback

I need to display some text information when I hover over the nodes in my graph plot. I'm going to use a text object, updated via the WindowButtonMotionFcn property of the figure, but I need to be able to remember its state so I can turn it on and off. I'm going to try and use a nested function to...

标签: Code-Along, Format: Video

Stuart’s MATLAB Videos

2019-08-19 14:06:24

Overview Of Recent Projects Features

Today I am happy to welcome guest blogger Quique Hernandez Hurtado Esquilas. Quique recently completed a project where he updated many examples using Projects to leverage new features added in the last few releases. If you have been using188bet开户 Projects for many years, keep reading to see if your projects are leveraging those new additions. Note: In case...

标签: Model-Based Design, What's new?

Guy on188bet开户

2019-08-15 15:48:52

Team Automatons Builds a Quadruped Robot for the ABU Robocon 2019 Task

For today’s post, I would like to introduce you to Team Automatons from Pimpri Chinchwad College of Engineering, Pune. They recently scored 2nd in the MathWorks Modelling Award at the National DD-Robocon 2019, New Delhi. The team will share their experience of using MATLAB and188bet开户 for their quadruped design. Thanks very much and the stage is yours! -- Hey! We are...

标签: Education, Robotics, Simscape, Simulink, Skills, Team achievements

Racing Lounge

2019-08-14 18:37:56

Maze

Will's pick this week is Maze by Rodney Meyer. This simple submission is surprisingly effective at providing hours of diversion. From the command line, you call the maze function with arguments specifying dimensions and the maze pattern. The pattern (which can be horizontal, vertical, , checkerboard, spiral, burst, or random) influences the layout of a two-dimensional maze. A red diamond...

标签: Puzzler

File Exchange Pick of the Week

2019-08-09 09:00:59

Loading Signals in Timetable Format

Today I decided to revisit a topic I covered a few years ago: loading discrete signals in a simulation. Let's see what has been added in the last few years to help with the potential problems you might run into when loading discrete signals in a simulation. The Problem Let's start with a simple Excel sheet with two columns, the...

标签: Signals, Simulink Tips

Guy on188bet开户

2019-08-06 14:34:42

The QR Algorithm Computes Eigenvalues and Singular Values

The QR algorithm is one of the world's most successful algorithms. We can use animated gifs to illustrate three variants of the algorithm, one for computing the eigenvalues of a nonsymmetric matrix, one for a symmetric matrix, and one for the singular values of a rectangular matrix. In all three cases, the QR iteration itself is preceded by a...

标签: Eigenvalues, Matrices, Singular Values

Cleve’s Corner: Cleve Moler on Mathematics and Computing

2019-08-05 14:35:31

The Deep Learning Dozen

6 Twitter accounts and 6 blogs to keep you current I find it hard sometimes to keep up with the latest deep learning trends, so I made a list of blogs and people to follow. Hopefully you find this helpful too! People to Follow on Twitter: @AndrewYNg:  Co-founder of Coursera and former...

标签: Uncategorized

Deep Learning

2019-08-05 12:24:33

Counting the Frequency of Parameters in a Set of URLs

Here I need to know how often different parameters occur in a large list of URLs. I'm not usre if I should use the matlab.net.URI class or just use string functions. Features covered in this code-along style video include: matlab.net.URI extractAfter, regexprep, split Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post. Play...

标签: Code-Along, Format: Video

Stuart’s MATLAB Videos

2019-07-31 15:16:52

Keeping Up with Robotics Trends Through RoboCup

In March 2017, I joined the MathWorks Student Competitions team to focus on supporting university-level robotics competitions. The competition I spend most time with is RoboCup, which is great because RoboCup contains a variety of leagues and skill levels that keeps me sharp with almost everything going on in the field. Today I will talk about my experience in this...

标签: Education, Robotics

Racing Lounge

2019-07-31 12:00:58

AI predicts which ovarian cancer treatment is best for each patient

This week's blog post was written by Liz Ashforth. The topic is a perfect fit since Liz has decades of experience with MATLAB and a background in biomedical engineering. The research discussed in today's post, machine learning to analyze the potential outcomes of various cancer treatments, is yet another example of how artificial intelligence is impacting the medical field. Ovarian...

标签: Uncategorized

Behind the Headlines

2019-07-30 18:16:57

Mathematical Word Problems - Construction Tool

Do your kids have to practice solving mathematical word problems? Maybe they need to practice more during school breaks? I've written a function that can turn you in to a machine for torturing your kids with some.Actually, this started off as a tool to find the date on which I was X times older than a colleague. It's super simple to do this with the help of the datetime datatype in MATLAB....

标签: Fun

Loren on the Art of MATLAB

2019-07-30 10:33:52

When was the function introduced?

Jiro's Pick this week is when by Reza Ahmadzadeh.Working at MathWorks, I have become spoiled and have become used to always having access to the newest release (actually, I have access to future releases under development). When I was an application engineer delivering seminars, I would get questions like "when did that command become available?" or "I just tried to...

标签: Picks

File Exchange Pick of the Week

2019-07-29 12:00:30

Mathematical Visualization with Plywood and Power Tools

This is Hollis Potter (he's the one on the right). He works on the Community team here at MathWorks. On the table next to Hollis is an L-shaped membrane, the same shape that forms the MathWorks logo. If you wanted to make something like this out of plywood, I'm sure you can imagine a tedious process that would converge...

标签: Uncategorized

MATLAB Community

2019-07-25 10:56:29

Deep Learning for Medical Imaging

​ We have a very special post today from Jakob Kather from Heidelberg, Germany (Twitter: jnkath). He will be talking about deep learning for medical applications. Jakob is also one of the authors of a new paper recently published in Nature Medicine: https://www.nature.com/articles/s41591-019-0462-y discussing deep learning predicting gastrointestinal cancer. Deep learning-based...

标签: Uncategorized

Deep Learning

2019-07-24 19:11:22

Hadamard Matrices

I have just returned from the ICIAM2019 conference in Valencia, Spain. It was a huge conference -- 4,000+ attendees, dozens of prize and invited talks, hundreds of parallel minisympsia. I gave a talk in a two-part minisymposium organized by Nick Higham and Rob Corless. I outlined the first part of the talk in this blog a month ago. This post outlines the second part, which was about Hadamard matrices. Some of it is taken from a post in this blog five years ago....

标签: History, Matrices

Cleve’s Corner: Cleve Moler on Mathematics and Computing

2019-07-24 14:24:12

关闭

站长推荐上一条 /4 下一条

返回顶部