Community Profile

photo

Adam Danz

MathWorks

Last seen: Today Aktiv seit 2014

MathWorks software engineer with interests in data analysis and visualization. Ph.D. at the University of Rochester (NY) with focus on neurophysiology, visual and vestibular systems, multisensory integration, sensory-motor systems, control systems, steering, and navigation. My contributions to MATLAB Central before 14-Feb-2022 were prior to my employment at MathWorks. "If I had only one hour to save the world, I would spend fifty-five minutes defining the problem, and only five minutes finding the solution. -Albert Einstein "An expert is a person who has made all the mistakes that can be made in a very narrow field." -Niels Bohr "If you are not embarrassed by the first version of your product, you've launched too late" - Reid Hoffman

Statistiken

All
  • MATLAB Mini Hack 2022 Participant
  • MATLAB Mini Hack Participant
  • Editor's pick for Answers
  • Knowledgeable Level 5
  • Solver
  • Personal Best Downloads Level 4
  • Explorer
  • Most Accepted 2021
  • Revival Level 4
  • 36 Month Streak
  • Master
  • Thankful Level 5

Abzeichen anzeigen

Content Feed

Beantwortet
Matlab App Designer UI Axes Unable to Zoom In/Out Smoothly
Please contact tech support and include instructions how to reproduce the problem, your release information, and attach the figu...

6 Tage vor | 0

Beantwortet
overlapping images in grid layout
I would suggest a different approach. You could potentially have dozens of axes and just as many images in your app which could...

11 Tage vor | 9

| akzeptiert

Beantwortet
How to hide representative duration at datetime X-axis plot?
Starting in MATLAB R2023b, you can add, remove, or update the secondary labels using xsecondarylabel, ysecondarylabel, zseconda...

13 Tage vor | 1

Beantwortet
app.UIFigure = uifigure(); creates a new UIfigure window and the original app is not accessible through app.UIFigure
@Mohd Aaquib Khan, the first two lines of my answer in the thread you linked to were just to simulate app desgner. These two ...

13 Tage vor | 0

| akzeptiert

Beantwortet
Can sfit objects be plotted to specific axis in GUI (not a figure window)?
Starting in MATLAB R2023b, provide the axis handle as the first input to plot the fit line in your app's axes. plot(ax,___) pl...

15 Tage vor | 0

Beantwortet
Trouble deleting plots with circle animation
Based on the code, I think you want to delete the previous circle here (marked by a comment below). M = [3 4 6 5 8 9]; axis([-...

15 Tage vor | 0

| akzeptiert

Beantwortet
Visualizing figure in app designer
> Is it possible to access this x, y coordinates from the figure level or do I need to change the function so that it would ret...

19 Tage vor | 0

| akzeptiert

Beantwortet
extra uitoolbar in GUI figure (R2023b)
To try to reproduce this behavior, I created a bare-bones gui in R16b and opened it in R23b but the GUI figure does not show any...

19 Tage vor | 0

| akzeptiert

Beantwortet
How to find the min values and their indices for a 2D array?
Find the minimum value using min and specify all dimensions. Then use find with two outputs to find the row and column indices ...

22 Tage vor | 0

| akzeptiert

Beantwortet
Synchronizing two timetables that contain cell arrays
synchronize and retime need to know how you'd like those functions to fill in missing data. The method property allows you to s...

22 Tage vor | 0

| akzeptiert

Beantwortet
Why colorbar label is always beyond the limits of the figure?
> I put only one colorbar for all the subplots... I suggest using tiledlayout instead of subplot. It handles legends and color...

24 Tage vor | 0

Beantwortet
how to use tree in app designer
Look in app.Tree_Equity.CheckedNodes. SelectedNodes indicates which nodes are currently selected (in blue, below), not which ...

25 Tage vor | 0

Beantwortet
Bar graph with unequal values.
Are you expecting to see a stacked bar plot? a1 = [2 3 4 5 6]; b1 = [0.2 0.2 0.2 0.2 0.2]; b2 = [nan nan nan 35 nan]; bar(a...

26 Tage vor | 1

| akzeptiert

Beantwortet
Number of digits in heatmap plot except for the value 0
Replace near-0s with 0 >I want to show them as value ''0'' and not ''0.000'' and for the non-zero values in matrix I want three...

27 Tage vor | 0

Beantwortet
Setting two yaxes in uifigure
Try this soc = out_rulebased.SoC.signals.values time = linspace(0,10,length(ibatref_rulebased)) i_load = out_rulebased.i_load...

28 Tage vor | 0

| akzeptiert

Beantwortet
Prerelease version of R2023b silicon mac launch error
Please contact tech support and include the information you shared in your question.

etwa ein Monat vor | 1

Beantwortet
Zooming into maps and updating corresponding bar graphs in App Designer
You could used the LimitsChangedFcn which responds to changes to axis limits. Within the function you could make changes to you...

etwa ein Monat vor | 0

Beantwortet
how to close error dialog
Error dialogs produced by errordlg or msgbox produce figures. The command below will close all existing figures. close(findal...

etwa ein Monat vor | 1

| akzeptiert

Beantwortet
[HEATMAP] Display single colorbar for a multiplot
Here's a demo showing the following steps needed to create a figure with multiple heatmaps that share the same global colorbar. ...

etwa ein Monat vor | 1

| akzeptiert

Beantwortet
PROBLEM WITH QUIVER ARROW SIZE
The problem The quality of arrows produced by quiver is poor in highly skewed data aspect ratios. In many cases equating the...

etwa ein Monat vor | 0

Beantwortet
Low precision of floats?
vpa('0.036489973978576520559023667001244',100)

etwa ein Monat vor | 3

Beantwortet
Setting default line widths for all plotting functions
This issues comes up from time to time. As @Steven Lord mentioned, there is no global setting that would apply to all LineWidth...

etwa 2 Monate vor | 0

Beantwortet
Making color plots that are also clear in greyscale
Converting a colormap to grayscale If you have an existing colormap c that you would like to convert to grayscale, you could us...

etwa 2 Monate vor | 0

Beantwortet
Dendrogram with colouring.
> How can I remove certain colours [of a dendrogram] from being used, I would like none of the cluster to be green. Since you ...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
How can I extract multiple rows from an array at regular intervals?
Create demo matrix A A = (1:72)'.*ones(1,10) size(A) Extract rows 1:6, 13:18, ... q = 6; idxMat = reshape(1:q*floor(height(...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
how to delete a custom warning identifier, not just "display off" ?
> how to delete a custom warning identifier If you want to permanently delete the custom warning ID so that it never appears a...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
Tiledlayout and duplicating plot for zoom of original plot
Some feedback on your test code. hFigIAxes = findobj('Parent',figT,'Type','axes'); No need to do this. You already have the ax...

etwa 2 Monate vor | 0

| akzeptiert

Beantwortet
How to add up all elements of a vector in a 1x1 vector?
a = [ 1 7 333 65 8]; s = string(a) cs = cellstr(string(a))

2 Monate vor | 0

| akzeptiert

Beantwortet
transform an empty matrix '0x0 double' into a matrix '0x2 double'
To create an empty double with a specified size, data_0x2_double = zeros(0,2) Or, data_0x2_double = double.empty(0,2) See ...

3 Monate vor | 0

Beantwortet
logical data some time is not 0/1
2.png indicates that the data is a 82x15 string where some values in col 2 are in the form "true"/"false" whereas other values i...

3 Monate vor | 0

| akzeptiert

Mehr laden