Submitted


MATLAB Production Server Sizer
Size your MATLAB Production Server.

2 months ago | 3 downloads |

Thumbnail

Answered
range different longitude and latitude geoshow
Look at bufferm https://www.mathworks.com/help/map/ref/bufferm.html. Call that on your data and then just take the bounds() of ...

2 months ago | 0

Answered
Importing NetCDF files: Script stops when a variable is missing from a file.
Use ncinfo to determine if the variable exists in the file before you to try to read it.

2 months ago | 0

| accepted

Answered
Error when assigning categories to a tall array
That also appears to be a bug in how tall handles scalar strings for cats and values. If you make code and meaning into vectors...

2 months ago | 0

| accepted

Answered
replace function in tall array. This indicates an internal error. Please contact MathWorks Technical Support.
At the very least it's a doc bug because the doc says that tall arrays are fully supported for replace. It does appear to work ...

2 months ago | 0

Answered
App Designer Main Window Behaviour
You should consider just using menus since that's what you're replicating with tabs. https://www.mathworks.com/help/matlab/ref/...

2 months ago | 0

Answered
Export Table from Matlab Guide to Excel
This would be a lot easier in App Designer because the uitable data can just be a MATLAB table. I'd strongly encourage you to m...

2 months ago | 0

| accepted

Answered
Matlab app designer can't go further than the first dropdown value
if app.ConfigDropDown.Value == '1' elseif app.ConfigDropDown.Value == '2' elseif app.ConfigDropDown.Value == '3' en...

2 months ago | 1

| accepted

Submitted


Testing McCabe Complexity
Use this test to ensure that the files in your project are not too complex.

2 months ago | 3 downloads |

Thumbnail

Answered
Label connected components in binary image using non-standard pixel connectivity
Call imdilate with a custom structuring element of your size. This will then expand the regions so they overlap and bwlabel can...

2 months ago | 0

| accepted

Answered
Create a 32bit compatible standalone App with MATLAB R2019b
This is directly ony possible with R2015a or older, the last release to support 32 bit. You may consider using web apps which...

2 months ago | 0

| accepted

Published


Simulations of Brownian particle motion
Today’s post is by Owen Paul, who is a Student Ambassador Technical Program Specialis. He himself was a student...

2 months ago

Thumbnail

Answered
Resize Figure for Word report
You should really consider using the MATLAB Report Generator. You can simply add, a figure to a Word report (no COM API etc.). ...

2 months ago | 1

Published


Fit Virus
Sean‘s pick this week is fitVirus by milan batista.  I hope you and your family remain safe and healthy over the coming...

3 months ago

Thumbnail

Answered
Error using Matlab Compiler
The symbolic math toolbox can't be compiled. You'll need to take the symbolic expression and convert it to a numerical one usin...

3 months ago | 0

Published


progressbar
Will‘s pick this week is progressbar by Steve Hoelzer. This is a File Exchange contribution that has been around since at...

3 months ago

Thumbnail

Published


Draw a bubble bath
Jiro‘s Pick this week is bubblebath by Adam Danz.Adam is no stranger to File Exchange and File Exchange Pick of the...

3 months ago

Thumbnail

Published


Spider Plot III – Custom Charts (Authoring)
Sean‘s pick this week is spider_plot by Moses. Last week, we looked at the custom chart I created.  This week, we’ll look at...

4 months ago

Thumbnail

Answered
2019b warnings popping up never had this before with 2019a
I've seen this warning in 19b too! Not sure if there is a change to the PNG library being used or if my image is corrupt/out of...

4 months ago | 0

Answered
checking dataType instead typecast at property or argument validation
There's no way to do this with validators in R2019b and the datatype coercion will always happen. You can use a set.property se...

4 months ago | 0

| accepted

Answered
Problem with accumarray/histcounts
This isn't the easiest to understand algorithm in the world but I think it does exactly what you want. n = size(C,1) ix = ceil...

4 months ago | 0

| accepted

Answered
what's a externally defined MCOS class ?
I'd contact tech support on that one.

4 months ago | 0

Published


Spider Plot II – Custom Charts (Intro)
Sean‘s pick this week is spider_plot by Moses. Contents Custom Charts Using the Custom Chart Comments Custom Charts My...

4 months ago

Thumbnail

Answered
How do I add multiple .PNG files to an existing PowerPoint (.pptx) file using a for loop?
I'd strongly encourage you to look at the MATLAB Report Generator for this which has the ability to easily add or replace conten...

4 months ago | 0

Answered
Integrating MATLAB Maps Broswer in my App Designer Project
Webmaps aren't supported in app designer. Look at using geoplot with the correct base map. Think this will get you what you wa...

4 months ago | 0

| accepted

Answered
Is there a way to get the top k values per row of a MATLAB array?
I'd probably do something like this: x = magic(4) k = 3 [~,idx] = maxk(x,k,2) for ii = 1:size(x,1) x(ii,~ismember(1:siz...

4 months ago | 0

| accepted

Answered
How to count the number of 1 between two 0 in a vector?
[regionprops(bwlabel([0 1 1 1 0 0 1 0 1 1 0 1]),'Area').Area]

4 months ago | 0

Answered
In programmatic report generation how can I display numbers in engineering format inside a table?
Look at the NumericFormat property of the MATLABVariable class https://www.mathworks.com/help/rptgen/ug/mlreportgen.report.matl...

4 months ago | 0

Published


Racing bar charts
Jiro‘s Pick this week is barChartRace by Eiji Konaka.This an example of a nice outcome that spawned from a community...

4 months ago

Thumbnail

Load more