Top 1% contributor
I'm trying to generate an anonymous function where I pass in an array of structures and convert it to a structure of ...
Asked 2 years ago
# When I dock a figure, it makes the figure toolbar virtually useless, since it becomes a tab on ribbon. For me there are a few...
Answered 3 years ago
A true polar plot. I've been using an old copy of mmpolar (thanks Duane) for years. It seems ridiculous that the built in func...
Hi folks, I'm in need of some help with some object oriented programming. I have an object of class "sensor" which has some sim...
7 years ago
7 years ago
Here's a place to start from:
str1 = 'HA: 2012-01-08, 11:01:45.802 – FFFF0811111111210208'
C = textscan(str1,'%2c:%d...
Answered 2 years ago
This is probably far beyond the OPs useful timeframe, but the short answer is: For pure non sequential, surface is always 1 For ...
1 year ago
I've got some fairly large OOP classes defined (which are subclasses of another). Sometime recently, I must have changed...
Simple helper files that return true/false based on whether inputs are even or odd, respectively
3 years ago
This is just a simple utility function to find all subplots in a figure and link their axes.
I would like to get people's feedback on the changes made in 2013a. I find the release notes to be incredibly dissapointing, in...
I am trying to figure out how to create an empty memmapfile object. My situation is this: I have a loop where I'm finding the ...
Asked 3 years ago
4 years ago
I think I understand... Are you saying that if you have a five element vector A(1:5), then you want A(6) to actually reference ...
Your question isn't very clear. The simplest answer is:
%Add additional object
Update for anybody who may care... I opened a support case to get some help from TMW on this... While waiting I discovered that ...
A couple of different options: Perhaps the simplest (although not very speed efficient) is to apply a tag to the marker when yo...
I am going to suggest an informal poll to be conducted here. Ultimately TMW will make its decisions based upon how it impacts r...
P, There is a very telling comment in there. You said that it starts off fast and then slows down. That is a key indicator tha...
8 years ago
Tests paths (or any other string) to find if it contains a substring
1 year ago
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
6 months ago
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
Create a row array from 9 to 1, using the double colon operator.
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
2 years ago
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
Program an exclusive or operation *without* using the MATLAB function xor.
Use logical operators like |, &, ~, ... instead.
Join the conversation