Published


Animating mathematical functions
Jiro‘s Pick this week is Plot Gui 2d by Silas Henderson.This entry is one of many interactive apps that Silas has created,...

3 mesi ago

Thumbnail

Answered
Find the number after a string
Something like this: s = string(fileread(your_file)) val = extractBetween(s, "Einstein A Coefficient (1/sec) :", newline) dou...

3 mesi ago | 0

| accepted

Published


Execute My MATLAB Algorithm in a Web Application
Greg’s pick this week is Generate JavaScript Using MATLAB Coder by Geoff McVittie. You are building a game where you want...

3 mesi ago

Thumbnail

Answered
How can we draw a customizable rectangular ROI on an axes using AppDesigner?
In 19b, this works on a uiaxes as well. drawrectangle(uiaxes)

3 mesi ago | 0

Answered
Standalone app output to windows cmd?
Call the app from the Windows Command line rather than from double-clicking the icon.

3 mesi ago | 0

Published


Minimal Bounding Box
Sean‘s pick this week is Minimal Bounding Box by Johannes Korsawe. I was recently asked by a customer “How can I replicate...

3 mesi ago

Thumbnail

Answered
Extracting values from file names to array
fn = ["file_234.txt" "file_356.txt" "file_567.txt" "file_987.txt"] double(extractBetween(fn, "_", "."))

3 mesi ago | 1

Published


Spider plots and more argument validation
Jiro‘s Pick this week is spider_plot by Moses.There are quite a few “spider plots” on the File Exchange, but this one by...

3 mesi ago

Thumbnail

Published


Programmatically adding data tips
Richard is Consulting Engineer at MathWorks focused on the Embedded Coder product for code generation, primarily in the...

4 mesi ago

Thumbnail

Published


Leaf Pile!
Sean‘s pick this week is leafpile by Nathaniel Barlow. As we’re finally starting to see cooler temperatures in New England,...

4 mesi ago

Thumbnail

Published


New with R2019b – Function Argument Validation
Jiro‘s Pick this week is Function Argument Validation, which is a new R2019b feature that I’m really excited about.If...

4 mesi ago

Thumbnail

Answered
MATLAB crash and i dont know why
You should send the report when this happens. It will create a tech support case for you if the workaround isn't already known....

4 mesi ago | 0

Answered
How to delete default excel sheets when using writetable function (mac)?
Starting in R2019b, specifying the sheet will cause "Sheet"+(1:3) to not be created. This is a new feature of 19b. writetable(...

4 mesi ago | 1

Answered
Add timetable with many months to another timetable with few months
Look at synchronize it does exactly this: tt = timetable(dateshift(datetime,'start','day'), 42, 'VariableNames',"Cars") tt2 = ...

4 mesi ago | 2

| accepted

Published


Tiled Layout
Sean‘s pick this week is tiledlayout by MathWorks’s development team. R2019b shipped on September 12th and is now available...

4 mesi ago

Thumbnail

Published


Winner of Machine Learning Hackathon
Jiro‘s Pick this week is Deep Learning Hackathon with Transfer Learning by Paola Jaramillo.Deep learning is becoming more...

5 mesi ago

Thumbnail

Published


How Old Do I Look?
Brett‘s Pick this week is Age and Gender Estimation from Face, by Masayuki Tanaka. Back in 2014, I “co-selected” one of...

5 mesi ago

Thumbnail

Answered
Is it possible to change PATH temporarily?
You really should look into using actual "Projects" in R2019a. They do exactly what you want. https://www.mathworks.com/help/r...

5 mesi ago | 0

| accepted

Answered
Duplicate points evaluated in Bayesian Optimization
You may want to look at the memoize function to cache the initial call so subsequent ones can just use the cached value. https:...

5 mesi ago | 0

Published


Polygon2Voxel
Sean‘s pick this week is polygon2voxel by Dirk-Jan Kroon. I was recently asked: “How can you find the intersecting volume...

5 mesi ago

Thumbnail

Answered
How to Compile an Application with the "pspectrum" function?
The signalAnalyzer app is not compilable. You shouldn't have to do anything to compile pspectrum, it should just work. Do you ...

5 mesi ago | 0

Answered
Findpeaks - excluding peaks within certain x axis values
findpeaks(y(x>10)) ?

5 mesi ago | 1

| accepted

Answered
SimEvent entity life time for total cycletime calculation
Pull in the Simulink Sources / Clock Block as an input to stamp an entity with the clock time at initialization and termination....

5 mesi ago | 0

Answered
Reducing jagged appearance of head CT mesh
Look at using smooth3 on the volume first before calling isosurface().

5 mesi ago | 0

| accepted

Published


Maze
Will‘s pick this week is Maze by Rodney Meyer. This simple submission is surprisingly effective at providing hours of...

6 mesi ago

Thumbnail

Answered
Add Customized Elements in Component Library in Matlab App Designer
You should strongly consider using SimEvents for this.

6 mesi ago | 1

Answered
drawfreehand in App Designer ?
It's kind of silently supported but you can programmatically (>=R2018b) add an axes to a uifigure and then draw* will work. ax ...

6 mesi ago | 2

Answered
Find non unique string in a table
n = groupcounts(T.Alpha) [~, last] = unique(T.Alpha, 'last') T.Ticket(last(n>1)) Using the "new and shiny" groupcounts.

6 mesi ago | 1

Published


When was the function introduced?
Jiro‘s Pick this week is when by Reza Ahmadzadeh.Working at MathWorks, I have become spoiled and have become used to...

6 mesi ago

Thumbnail

Answered
Get a property from a class
You can set the SetAccess attribute of the properties block including it to make it read-only. No reason to deal with get(), ac...

6 mesi ago | 0

| accepted

Load more