Mike D.

Last seen: Today Active since 2015

Followers: 0   Following: 0

I've been using Matlab since 1994.

All

Feeds

View by

Question

Convert C code to Matlab code for reading binary file
I'm looking for help reading a binary file in the most efficient way (fast). Here is the C-code. Thanks. #define MAX_LAYERS ...

1 year ago | 1 answer | 0

1

Question

Determine if a point is over land or water
Given a point (latitude, longitude), is there a function or easy way to determine if the point is over land or over water? I co...

3 years ago | 1 answer | 0

1

Question

add boldface text to text area
How do I add a new line to text area that is bold-face, while not having all lines bold-face? app.TextArea1.Value = [{sprintf('...

3 years ago | 1 answer | 1

1

Question

get a field value from all elements of a structure
If I have a structure s with a field A(1) and A(2) and A(3), where each of these A fields has a field B, I can type: s = struct...

3 years ago | 1 answer | 0

1

Question

UIAxes plot vs Axes plot in App
I'm somewhat new to App Designer, but have made lots of programmatic GUIs. I have an App GUI that creates plots. My plots use ...

3 years ago | 1 answer | 1

1

Log scale for radius axis in a polar plot
Here is how I created a logarithmic RAxis for altitudes: hAx2 = polaraxes(hFig,'OuterPosition',AxOutPos2,'ThetaAxis...

3 years ago | 0

UITable with both char and numeric data
I think I figured it out. The Data property must be Cell array which can be a mixture of data types: data = {'text1', 4e6, 'fi...

4 years ago | 1

| accepted

Question

UITable with both char and numeric data
I know you can have a UITable with all cell array data, and you can have one with all numeric data, but I want a mix of both in ...

4 years ago | 1 answer | 0

1

Question

Change or Add to greyed-out areas in App Designer
In the Design View, when I add a UI control, such as a Tab Group, it auto adds code such as: % Create TabGroup app.TabGroup = ...

4 years ago | 1 answer | 0

1

Question

rotate polygon in geographic axes
I have a n-sided polygon with vertices as (lat,lon) coordinates. I plot this on a geographic axes. I want to rotate it and end...

4 years ago | 1 answer | 0

1

Overlay polygon on geographic axes
What if you had (lat,lon) coordinates of the polygon you wanted to overlay? It looks like your x and y coordinates might be no...

4 years ago | 8

Question

find() not as expected
I have a numeric 2D array called A with time in the first column (from zero to 2 minutes every 0.01 seconds). I want to find th...

5 years ago | 1 answer | 0

1

Creating a multidimensional table
Works great, thanks. When I plot all thousand tables, each having thousands of rows and multiple columns, I couldn't do it with...

5 years ago | 0

Creating a multidimensional table
T = table(T1,T2,T3) only works if all three tables have exactly the same number of columns AND exactly the same number of rows, ...

5 years ago | 0

How do I plot points on a map in matlab?
geoshow(LAT, LON, 'DisplayType', 'Point', 'Marker', '+', 'Color', 'red');

5 years ago | 4

Why we can't directly delete Legend entries?
What if you didn't want to delete the curves/lines from the plot, but only wanted certain things deleted from the legend?

5 years ago | 1

Question

Why isn't 95.77-95.68 = exactly 0.09?
I guess I expected 95.77-95.68 to be exactly 0.09, just as I expected 3*(1/3) to be 0.9999999999, but I was wrong on both! More...

6 years ago | 1 answer | 0

1

Solved

Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

6 years ago

Solved

Basic electricity in a dry situation
&#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#9889 &#...

6 years ago

Solved

Energy of a photon
*&#9883 &#9762 &#9883 &#9762 &#9883 &#9762 &#9883* Given the frequency F of a photon in giga hertz. Find energy E of this...

6 years ago

Solved

How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6 years ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

8 years ago

Question

Best method in getting a figure from R2015 to MS Word
Before R2014b, I used to select Edit->Copy Figure in Matlab and then Ctrl-V in Word to paste (with the Copy Option being "Preser...

9 years ago | 1 answer | 0