Risposto
Why does first calling the function radon and then iradon on the result produce extra rows and columns?
The doc for iradon has the optional input 'OutputSize' which states that if not specified the reconstruction size is calculated ...

6 mesi fa | 0

Risposto
Comparing classification performance using Friedman Test
PrfMat=[0.9352 0.9697 0.7475 0.9877; 0.9670 0.8713 0.8414 0.7052; 0.6944 0.6841 0.9851...

6 mesi fa | 1

Risposto
Matlab fails to install add-ons on ubuntu.
The ControlSystem Toolbox is an additional product; you'll need to verify the license includes it in order to be able to install...

6 mesi fa | 0

Risposto
subplot automatically fill in next position for selection of plots in for loop
The subplots are sequentially numbered from 1:N as given in the construction. To use yours just ... for state = 5:11 ...

6 mesi fa | 0

| accettato

Risposto
Sharpening a 2D histogram and finding peaks
load HistSmoothed surf(HistSmooth); shading("flat"); xlim([-inf inf]), ylim(xlim) xlabel('X'), ylabel('Y'), zlabel('Z') figu...

6 mesi fa | 0

Risposto
Text inside legend box does not fit in automatically
I expect this is another manifestation of the changes with the new rendering engine introduced with R2025. Submit this to Mathw...

6 mesi fa | 1

Risposto
Error in datatips in plot
This is a builtin feature of the way the datatips work...by default there seems to be a rounding to 6 significant digits with th...

6 mesi fa | 0

| accettato

Risposto
Why isn't this breaking the loop?
if isempty(continueChoice) ... but function continueChoice = cont() continueChoice = listdlg("SelectionMode", "singl...

6 mesi fa | 0

| accettato

Risposto
How to create nested tables
numsmall = [5; 3; 8]; nummedium = [26; 53; 81]; numbig = [316; 582; 711]; numtable = table(numsmall, nummedium, numbig); mas...

6 mesi fa | 0

| accettato

Risposto
How to find rates of return to baseline after peaks, in temperature data over long timecourse?
whos -file EventSelection load EventSelection head(EventSection) d=dir('*.csv'); l=readlines(d.name); l(1:20) EventSection...

6 mesi fa | 0

Risposto
How to save changes to XLim so they are maintained when the user hits 'Restore View'/Home button
Try newXlim=[x1 x2]; % the new limits desired hAx=gca; hAx.Xlim=newXLim; % set the observed limits hAx.Interact...

6 mesi fa | 0

Risposto
How do I contact the authors of the blog "Generative AI + Robotics = Awesome!"
You could try responding to the blog via comment and ask for the info. Alternative would be since it does invite "to us" to use...

6 mesi fa | 0

| accettato

Risposto
First value of an array does not display with a decimal
The default format for MATLAB display in the command window is '%g" (OK, so it is complicated thing that renders basically as, n...

6 mesi fa | 0

Risposto
Plotting a text file with time on x axis?
You've got to get the sampling rate from somewhere -- if it isn't in the data file, then you'll have to know it from some other ...

6 mesi fa | 0

Risposto
Generate Graph Nodes and add buttondown callbacks for interactivity
Other string of comments has gotten fairly long and this is just a little different enough thought would make it a second Answer...

6 mesi fa | 0

| accettato

Risposto
Add Tooltip to each UI Tree Checkbox in App Designer
No, the 'Tooltip' property is a member of only the uitree object; the children of the tree do not have such. Seems like a reaso...

6 mesi fa | 0

Risposto
Generate Graph Nodes and add buttondown callbacks for interactivity
"the plot doesn't seem to generate the nodes as children/separate objects like it says in all the documentation...." The exampl...

6 mesi fa | 0

Risposto
Creating a polynomial fit expression using just the order number
c=x.^[n:-1:1]\y; I presume leaving off the intercept is intentional? Otherwise, there's polyfit

6 mesi fa | 1

| accettato

Risposto
no correct reaction time or button press possible
You forgot to tell us precisely what symptoms you got -- what does "is possible" mean here? Taking a guess, I expect the while ...

6 mesi fa | 0

Risposto
Anyway to make this more concise?
You forgot to attach the input file, there's nothing to be done with just an image. The way to make it more concise is to have ...

6 mesi fa | 0

| accettato

Risposto
In R2024b, handles(33) throws an error. In R2023b in returns a structure if there is a figure 33. Is there a workaround in R2024b?
figExists=@(n)~isempty(findobj('Type','Figure','Number',n)); should work no matter the version. Nota Bene: all these work only...

6 mesi fa | 0

| accettato

Risposto
Plus as concatenate for numeric vectors?
No it's not new. In that expression the plus sign is interpreted as the sign of the value, not as an arithmetic operator. It's...

6 mesi fa | 1

| accettato

Risposto
Why is this showing the first fprintf statement?
You would have to rerun the code to enter the other condition to do the else if clause instead of the first. chosenstat will on...

6 mesi fa | 0

Risposto
How can I make an if statement based on the answer of an input?
Couple of issues here. As the documentation for input shows, the form as you've written it tries to evaluate the user input as ...

6 mesi fa | 0

| accettato

Risposto
check out a matlab code method
Would be more helpful to see more of the function context, but a couple of recommendations Firstly, for the diagnostics, parame...

6 mesi fa | 0

Risposto
New Pixhawk Cube Orange+ hardware incompatible with MATLAB PX4 Toolbox (PX4 v1.14.x)?
"Is MathWorks aware of this issue ...? A search for "Pixhawk" on <the public bugs database> didn't return anything, but that do...

6 mesi fa | 0

Risposto
How do I stop exportgraphics from adding a border
That would be expected behavior... Background color, specified as 'current', 'none', an RGB triplet, a hexadecimal color code, ...

6 mesi fa | 0

Risposto
As of R2025ab, are all figures now uifigures?
This appears to be a result of the replacement of Java for rendering... which -all matlab.ui.internal.isUIFigure fn=which('mat...

6 mesi fa | 2

| accettato

Risposto
pcolor plot: how to scale the smoothing differently in x and y directions
"... instead of considering x and y distances, I want somehow to consider the distance at an angle" A = [0 0 0 0 0 0 0 0 2...

6 mesi fa | 0

Risposto
Indexing in a matrix vs vector
There's nothing preventing addressing a row vector by its row, column indices... x=1:3; for i1=1:height(x) for j1=1:width(x...

6 mesi fa | 1

| accettato

Carica altro