Poll


Which color format are you least familiar or least comfortable with?

más de 2 años hace | 2784 votes | 7 comments

Respondida
Which characters are replaced by matlab.lang.makeValidName?
matlab.lang.makeValidName uses isvarname to determine if the string is a valid variable name. The doc page for isvarname state...

más de 2 años hace | 0

| aceptada

Respondida
shifting axis on both ends so graph does not have points on extreme end
In addition to axis padded which pads all axes limits, you could use ylim('padded') to only pad the y axis limits (same with xli...

más de 2 años hace | 0

Respondida
Is there a way to programmatically generate function signature jsons file?
> I was wondering if there was a way to generate signature jsons through MATLAB code No, MATLAB does not offer such a function....

más de 2 años hace | 1

| aceptada

Respondida
Programmatically close App Designer app after running it for a unit test
Original answer removed due to error. See discussion below. Summary of approaches (thanks to Steven Lord) use a addTeardown ...

más de 2 años hace | 0

| aceptada

Respondida
How to squeeze specific value from 4D array?
It seems like you are asking for a way to identify and retrieve every instance where the temperature value is exactly 25 within ...

más de 2 años hace | 0

| aceptada

Respondida
Unrecognized function or variable " " , when I use my function
The variable t_peaks is not defined in the fit_function. Neither is the peaks variable but this is not throwing an error becaus...

más de 2 años hace | 0

Discussion


Simulink and App Designer integration in R2024a
Are you a Simulink user eager to learn how to create apps with App Designer? Or an App Designer enthusiast looking to dive into ...

más de 2 años hace | 3

Respondida
how to plot a section of a circle, need help with coding the math
> The variables I have is center position (lat and long), I have right and left aperture (130° total), max range (usually 25-30 ...

más de 2 años hace | 0

| aceptada

Publicado


Build Simulink Apps with App Designer
Guest Writer: Robert Philbrick Robert Philbrick is a principal engineer responsible for new interactive App Designer...

más de 2 años hace

Thumbnail

Respondida
Appdesigner window ends up in background after uigetfile
Thanks for reporting the problem. This has been fixed in R2025a. Focus now returns to the app that called uigetfile after t...

más de 2 años hace | 2

Respondida
Pushbutton sends app designer panel to the back.
Thanks for describing the problem. This is a known issue (previous reports: 1, 2, and others). This has been fixed in R2025a...

más de 2 años hace | 0

Respondida
How do I programmatically extract a 3D plot point selected by a user interactively?
Finding the nearest point in 3D space to a mouse click in a 2D representation may pose problems because depth of the mouse click...

más de 2 años hace | 1

| aceptada

Respondida
Unwanted quotation marks when appending a table in pdf report
I don't know whether there is any report generator wizardry that addresses this but a simple solution is to convert the cell-str...

más de 2 años hace | 1

Respondida
Plot Stacked Surfaces with Coloring Appropriate for each Individual Surface
Assuming the three surfaces are on the same axes, you can set the cdata for each surface. The cdata can be normalized so that ea...

más de 2 años hace | 0

| aceptada

Respondida
Why does my plot line appear outside the axes?
This appears to be a bug specific to the OpenGL renderer. Thanks for reporting this issue. Investigation will continue interna...

más de 2 años hace | 2

| aceptada

Respondida
Exported 3D plot into SVG shows swirly white lines between chopped subshapes in inkscape
The white lines issue has been around for a while and is an effect of how viewing software rasterizes vectors. There have been ...

más de 2 años hace | 0

Respondida
Scatter plot text behind plotted data when image copied.
Thanks for the info @Kirstie Beugger. This bug was fixed in R2025a. For releases prior to R2025a: When copying graphics i...

más de 2 años hace | 1

| aceptada

Respondida
how to scale arrows
Quiver scaling can be tough to understand. We recently added the ScaleFactor property (R2024a) to help out. See this answer fo...

más de 2 años hace | 0

Respondida
How can i set the dimension of the arrow in a quiver plot?
Understanding quiver auto scaling When using quiver(X,Y,U,V,__), U and V are the horizontal and vertical vector magnitudes. Ho...

más de 2 años hace | 0

Respondida
rotate3d not working properly with matlab GUI and pcshow function
> ...the rotation of the axis is somehow buggy (everytime I klick again, it jumps to another view) and ... the cursor does not c...

más de 2 años hace | 0

Respondida
view() not returning [az, el] ??
The azimuth and elevation outputs are returned as two separate outputs. f = figure('visible','off'); ax = gca(f); [az, el]...

más de 2 años hace | 1

Discussion


AMA: The secret of staff contributors in the Answers forum
Welcome to MATLAB Central's first Ask Me Anything (AMA) session! Over the next few weeks, I look forward to addressing any...

más de 2 años hace | 25

Respondida
One legend for a group of subtightplots
That FEX function subtightplot is very useful but since R2019b you can use tiledlayout instead and since R2020b, tiledlayout sup...

más de 2 años hace | 1

| aceptada

Publicado


Introducing the Color Picker Component
Guest Writer: Kristen Amaddio Kristen Amaddio is the Senior Team Lead for the MATLAB UI Components team. She first joined...

más de 2 años hace

Thumbnail

Respondida
Why are my error bars multicoloured with no line?
Understanding array size compatibility errorbar, like plot, supports mixed array sizes in input arguments as long as the sizes ...

más de 2 años hace | 0

Discussion


Debugging Using Conditional Breakpoints & fprintf
Temporary print statements are often helpful during debugging but it's easy to forget to remove the statements or sometimes you ...

más de 2 años hace | 7

Respondida
How to erase a specific elements for the name of string values and then replace them?
Assumptions: "Temp_06_02_24_10_39_34 = 32"; is a string This is not a variable name The month is in the 2nd numeric positio...

más de 2 años hace | 1

| aceptada

Respondida
How to make sparsity pattern graph with grouping
Using pcolor This solution uses pcolor and converts the table of 0s and 1s into grouping values that are used to assign color t...

más de 2 años hace | 2

| aceptada

Respondida
UIalert icon disappears in deployed application
Thanks for reporting this, David. We are aware of the problem. Stay tuned for updates.

más de 2 años hace | 0

| aceptada

Cargar más