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

6 years ago | 1

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

6 years ago | 0

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

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

6 years ago | 1

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

6 years ago | 0

| accepted

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

6 years ago | 0

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

6 years ago | 1

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

6 years ago | 1

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

6 years 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]

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

6 years ago | 0

Answered
How to combine all CT files to make a single array/matrix?
Look at dicomreadVolume! https://www.mathworks.com/help/images/ref/dicomreadvolume.html

6 years ago | 0

Answered
Retrain model, Classification Learner
When you export the model, there's an option to generate a function. This function can be used to retrain the model on new data...

6 years ago | 1

| accepted

Answered
drawellipse not working, can't reproduce example
which -all drawellipse Looks like you're shadowing this.

6 years ago | 0

| accepted

Answered
How to share and update property value across different objects.
Put a breakpoint on this line: cgmObj.set_interstitial_BG(val); And see what cgmObj is and if it has a set_interstitial_BG(val...

6 years ago | 0

Answered
Convert .rpt to .m file?
You can use the rpt file with the new APIs https://www.mathworks.com/help/releases/R2019b/rptgen/ug/mlreportgen.report.rptfile-c...

6 years ago | 0

Answered
Plotting the density of latitude and longitude points as a heat map on geographic data
Look at geodensityplot https://www.mathworks.com/help/releases/R2019b/matlab/ref/geodensityplot.html

6 years ago | 0

Solved


Aquiles y la tortuga
Contaba Zenón en su famosa paradoja que un día Aquiles, el guerrero griego más veloz de la Hélade, se enfrentó a una pequeña tor...

6 years ago

Answered
How to create subplots of findchangepts function?
Take a look at the find change points live task which will generate the code for you for the plot you're looking for. Copy and ...

6 years ago | 1

| accepted

Answered
Directly open custom documentation
web(fullfile(docroot, '3ptoolbox/toolbox_name/doc/Index.html')) You can get this by navigating to your custom doc page's Index,...

6 years ago | 0

Answered
How to set the variable formats in a Report Generator table?
In R2019b, the https://www.mathworks.com/help/releases/R2019b/rptgen/ug/mlreportgen.report.matlabvariable-class.html has a Numer...

6 years ago | 0

| accepted

Answered
Using timer, How can I cleanly exit a function execution, when the timer fires in MATLAB?
Why use a timer for this? In the start of your function, start a tic t = tic Then periodically check if toc(t)>2 ...

6 years ago | 0

Answered
Unable to save 1024 x 1280 cell array of cfit objects.
If I were you, I'd just store a,b,c,and d, as matrices directly then when necessary construct the cfit object on the fly with th...

6 years ago | 0

| accepted

Answered
How can I switch programatically that my model uses base workspace instead of data dicitonary?
I think you just set "DataDictionary" to {''}. https://www.mathworks.com/help/releases/R2019b/simulink/slref/model-parameters....

6 years ago | 0

| accepted

Answered
How to detect start points and end points of plateaus in graph plotted from a data set?
Maybe look at ischange or the change point detection live task in 19b? https://www.mathworks.com/help/matlab/ref/findchangepo...

6 years ago | 0

Answered
how to make a heatmap for a monthly time serie?
Convert your x values to datetime. Then heatmap will just work: dt = datetime('now'):hours(1):datetime('tomorrow'); v = rand(...

6 years ago | 1

Answered
Is there an easy way to build a test suite from all tests in a folder containing multiple packages?
Have you considered adopting projects? I'd recommend it (for most things and especially for this use case) then you can just cr...

6 years ago | 0

Answered
How do i create a prototype pulse using zeros and ones?
This ought to do part 1: pulse = rem(ones(1,14).*(1:14),13)+zeros(1,14)>2

6 years ago | 0

Answered
First Col to Rep Date in Double Array
Use a timetable and stackedplot.

6 years ago | 0

Load more