Published


The Matrix Lab Has You
Sean's pick this week is The Matrix lab has you by Mathworlds. I discovered this after reading...

4 months ago

Thumbnail

Published


File Exchange Categories for your Valentine
Jiro's Pick this week is 2-axis CNC ILC cutting machine by Bartlomiej Ufnalski. This example is about a particular type...

4 months ago

Thumbnail

Answered
How to calculate hourly average value for measured Temperature, CO2, RH and Rid in 5 minutes interval
Read it in as a timetable readtimetable then call retime which does exactly what you want. t = readtimetable('yourfile') fivem...

4 months ago | 0

Answered
Motor control toolbox license
It doesn't look like it's avaiable - MATLAB Home - MATLAB & Simulink (mathworks.com) Click the see available products button. I...

4 months ago | 0

| accepted

Published


Tracing the boundary of a binary region in an image
Brett's Pick this week is Freeman chain code, by Nicolas Douillet.ContentsA new file prompts a thought experimentFreeman...

4 months ago

Thumbnail

Answered
How to add Python Libraries which are referenced in a Python routine
Are you sure the python environment (specified by pyenv) is numpy aware?

4 months ago | 0

Answered
How to convert image .mat back to the mlreportgen.dom.Image object?
You'll need to write the image back to disk as the report generator needs to deserialize it from this format into the report. If...

5 months ago | 0

| accepted

Answered
Shrinking image by averaging
This works img = repmat(1:6,4,1) shrink = @(x)reshape(sum(reshape(sum(reshape(x,2,1,[])),size(x,1)/2,2,[]),2)./4,size(x,1)/2,[...

5 months ago | 0

Answered
Appdesigner uitable and uistyle
capital S in addStyle :)

5 months ago | 0

| accepted

Published


Simulink Keyboard Input v2
Will's pick this week is Simulink Keyboard Input v2 by Emanuele Ruffaldi. I have streamed data into Simulink models from...

5 months ago

Thumbnail

Answered
Function 'daysact' not supported for code generation.
You should use the newer and recommended datetime / duration classes which support c-codegen: d = days(datetime(t1)-datetime(t2...

5 months ago | 0

Published


Convert your live scripts to markdown file
Jiro's Pick this week is Live Script-to-Markdown by Michio, one of my colleagues in MathWorks Japan.As you know, File...

5 months ago

Thumbnail

Published


2020 Index
...

5 months ago

Thumbnail

Answered
Timer callback with alternating paths based upon which path was triggered before
You could use a simple persistent variable in your callback function to maintain state.

6 months ago | 0

| accepted

Answered
Is this right?
-4 v -5?

6 months ago | 0

| accepted

Published


Leaf Pile 3D
Sean's pick this week is leafpile3d by Nathaniel Barlow and the extended version with drag by Chris Verhoek. ...

6 months ago

Thumbnail

Answered
Manipulating PowerPoint Custom Document Properties Using ActiveX
You should strongly consider using the MATLAB Report Generator to generate the presentations. It lets you use existing template...

6 months ago | 0

Published


Aircraft Intuitive Design
Richard is a Consulting Engineer at MathWorks focused on the Embedded Coder product for code generation,...

6 months ago

Thumbnail

Answered
Is there a script or app to convert many (>50) matlab figure files into powerpoint presentation??
You can do this pretty easily with the MATLAB Report Generator. Presentation Generator Development - MATLAB & Simulink (mathwor...

6 months ago | 0

Answered
Sorting time in 1 hour time slots.
Look at retime. doc retime

7 months ago | 0

Published


Emulating a physical experiment of measuring M&M’s
Jiro's Pick this week is M&M statistics by Lisa R. Thompson.A common challenge I hear from educators is how to conduct...

7 months ago

Thumbnail

Answered
please help with work
v = ["Not Valid" "Valid"]; v(isvarname(input('enter variable name: ', 's'))+1)

7 months ago | 1

| accepted

Answered
How to unit test several different functions that take the same input arguments efficiently?
Look into using TestParameters. You can use an array of function handles as the parameter values to traverse different function...

7 months ago | 1

Answered
colon operator in compiled python package
You should call the MATLAB module with a numeric input rather than a list. This is the data type conversion table. Use numeric...

7 months ago | 0

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.

7 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...

7 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.

7 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))

7 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...

8 months ago

Thumbnail

Load more