Answered
Enable/Disable uitabs in uitabgroup, with v2015b
In App designer this is possible by adding a panel inside the uitab and disabling the uipanel.

5 months ago | 0

Answered
Marker Symbol 'I' in plot
This capability was added in 20b. https://www.mathworks.com/help/releases/R2020b/matlab/release-notes.html?category=graphics&rn...

5 months ago | 1

Answered
Error in code.
It looks like you just copied someone's script that has the outputs as well as the code. You can't run the outputs.

5 months ago | 1

Answered
How can I get all possible coordinate from implicit function ?
zz = acos(-(cos(-5:5)+cos((-5:5).'))) % Check norm(cos(-5:5) + cos((-5:5).') + cos(zz))

5 months ago | 0

| accepted

Published


Avoid Overwriting Files!
Brett's Pick this week is Avoid file overwrite, by Simon Musall.ContentsA cautionary taleavoidOverwriteA cautionary taleSome...

6 months ago

Thumbnail

Published


R2020b: pattern (new way to regular express)
Jiro's Pick this week is the new pattern matching capabilities that were added in the newest release, R2020b.I've always had...

6 months ago

Thumbnail

Published


Simulink-to-Stateflow
Will's pick this week is Simulink-to-Stateflow by McSCert. Over the years, I've delivered dozens of talks on Stateflow, a...

6 months ago

Thumbnail

Answered
Does inpolygon work for latitudes and longitudes on the surface of the earth?
You need to project lat/lon into x/y using an appropriate projection for the region you're focused on. Then inpolygon (or polys...

6 months ago | 0

Published


R2020b: swarmchart
Jiro's Pick this week is swarmchart, a new visualization function in R2020b.Following Sean's post from last week, I'd like...

7 months ago

Thumbnail

Published


R2020b
Sean's pick this week is MATLAB R2020b by MathWorks Development. Our fall 2020 release...

7 months ago

Thumbnail

Answered
How can I suppress the output of another function that is called from my function?
Easiest way would be to pass an optional flag into incsearch that specifies whether it should display or not. function xb = i...

7 months ago | 0

| accepted

Answered
MATLAB Profiler - Granularity of Information
This got better in R2020a with the new interface to the profiler.

7 months ago | 0

Published


Interactive apps for solid mechanics
Jiro's Pick this week is Apps For Solid Mechanics by Ephraim Bryski.My day job is supporting educators and researchers...

7 months ago

Thumbnail

Answered
Remove rows duplicates based on a condition
MWE- use the 'stable' flag to unique if you care about order: x = [172 2 1; 134 3 2; 172 4 0.4]; [uv,~,idx] = u...

8 months ago | 0

Answered
Excercises for MATLAB programmimg
https://www.mathworks.com/matlabcentral/cody/?s_tid=gn_mlc_cody

8 months ago | 0

Answered
How can I run my functions from MATLAB in Python?
Try adding it to the MATLAB path from Python when you instantiate the engine (or navigate to the directory the file is in with e...

8 months ago | 0

| accepted

Answered
create a vector of 0 and 1s that takes 1 at a fixed interval
repmat([zeros(1,m), 1],1,5)

8 months ago | 0

Answered
scroll programmatically within uitable
The scroll syntax in 20a only works in uifigures (the underlying figure used by app designer). Simply call it in a callback or ...

8 months ago | 0

Answered
Matlab requires restart before changes in Python code changes are applied
Try this clear classes m = py.importlib.import_module('yourlib'); py.importlib.reload(m);

8 months ago | 1

| accepted

Published


Model-Based Autonomous Traffic Simulation
Today's post is by Kathi Kugler, who is part of MathWorks Academic Engineering Team. This week’s Pick is MOBATSim by...

8 months ago

Thumbnail

Answered
Histogram with log Bin width
x = rand(1,10000)*100000; bins = 10.^(0:5); histogram(x, bins); set(gca, "XScale", "log")

8 months ago | 0

| accepted

Published


Zoom Plot
Sean's pick this week is zoomPlot by Kelsey Bower. (No - it's not the matrix of faces that...

9 months ago

Thumbnail

Published


Prettify MATLAB HTML
Jiro's Pick this week is Prettify MATLAB html by Harry Dymond.By now, many of you are probably aware of Live Scripts for...

9 months ago

Thumbnail

Published


Deprecating support for edfread and edfreadUntilDone
It feels like forever ago (it was back in 2009) that I wrote and posted to the File Exchange the edfread function. At...

9 months ago

Thumbnail

Answered
GlobalSearch inside parfor loop
Take everything inside the parfor loop and refactor it to a local or separate file function. Parfor loops should be as simple a...

9 months ago | 0

| accepted

Published


Face Mask Detection using Deep Learning
Jiro's Pick this week is COVID19 Face Mask Detection using Deep Learning by Wanbin Song.Face masks had always been quite...

9 months ago

Thumbnail

Published


Convert TDMS
Sean's pick this week is ConvertTDMS by Brad Humphreys. I'm asked occasionally by LabVIEW...

10 months ago

Thumbnail

Answered
Porting code to c++
Could you use the Compiler SDK to build a C++ library directly? This would reuse your exact implementation with patternsearch a...

10 months ago | 1

Answered
Accessing variables on onCleanUp function
function foo() %instruments declaration intrument1 = visa(...) instrumentcloser = onCleanup(@()fclose(instrument1)); %folder...

10 months ago | 0

| accepted

Answered
How to check if multiple objects are linked in a continuous way?
I don't completely understand what you mean by linking but it sounds like you want some of the capabilities afforded by digraph....

10 months ago | 0

Load more