Answered
I am plotting a lot of surfaces, and the code is very slow, is there a faster/ more efficient way to plot this in a 3d graph?
>> N=500; M=150; >> [X,Y]=meshgrid(1:N,1:N); >> Z=repmat(peaks(N),1,1,M); >> tic;for i=1:size(Z,3), surf(X,Y,Z(:,:,i),Z(:,:,i...

1 month ago | 0

| accepted

Answered
i have downloaded 2025a matlab and the trial session end up i want to extend trial
Mathworks may allow an extension if you request as an official support request at <Product Support Page> but you will have to be...

1 month ago | 0

Answered
Feedback on R2025a interface
It is irrevocable that Mathworks is committed to the new desktop going forward. I would recommend <What's behind the new deskto...

1 month ago | 0

| accepted

Answered
How to save a mixed data (strings and integers) from workspace into a matlab data file?
As example, I have a set of scripts the most basic two of which are BACKUP_WORKSPACE.m % Backup current workspace to "WORKIN...

1 month ago | 0

Answered
Plot time-of day histogram for array of datetimes
With datetimes, use the duration class for times of day..

1 month ago | 0

| accepted

Answered
waitbar: java.awt.Frame.getFrames() returning empty object on Matlab R2025b
In R2025a, Mathworks jumped with the theretofore threatened switch from the Java-based interface to the new desktop based on web...

1 month ago | 1

| accepted

Answered
Matlab won't setup on Windows 11
Contact Mathworks at <Product Support Page>, install and startup issues are supported. Answers is not an official support chan...

1 month ago | 0

Answered
app object not being passed to App GUI function, intermittently
app.tenMinuteTimer = timer('ExecutionMode', 'fixedRate', 'Period', 600, 'TimerFcn', @(~,~)app.createNewLogFile()) function cr...

1 month ago | 0

Answered
impossible to launch matlab 2025b
Contact Mathworks at <Product Support Page>. They support install/startup issues.

1 month ago | 0

Answered
Why contourf connect far apart points
A1=cell2mat(A1); A2=cell2mat(A2); A3=cell2mat(A3); would reduce the memory consumption by over half because the cell array ha...

1 month ago | 0

| accepted

Answered
How to interpolate 10 csv files with different x,y,z into a common grid and average them in MATLAB?
OK, I'm back!!! <g> d=dir('*.csv'); N=numel(d); mn=nan(1,3); mx=mn; % min, max overal...

1 month ago | 1

Answered
Command window in MATLAB 2025a doesn't remain undocked, and it doesn't have a toolbar anaymore
It is irrevocable that Mathworks is committed to the new desktop going forward. I would recommend <What's behind the new deskto...

1 month ago | 1

Answered
Error when checking data points in plot
That you are seeing the same issue in both R2022b and R2024b would tend to indicate something incompatible in your system rather...

1 month ago | 0

| accepted

Answered
How do i fix this error?
Paste the code as text and the complete error message; can't do anything with an image. The statement f=zeros(num_pipes,1); c...

1 month ago | 0

Answered
UniqueTol Exclusion of Similar Points
"...end up breaking if spots were removed because the index nn would eventually get larger than the current table height." for ...

1 month ago | 1

| accepted

Answered
LAPACK: Unable to determine CPU type -> AMD 9950X
Submit this to Mathworks as an official support request/bug at <Product Support Page>. Provide a minimum working example that c...

1 month ago | 0

Answered
MathWorksProductInstaller throws no error, installation does not continue to session key or license verification stage
Answers is not an official support channel and only Mathworks can help with install/licensing issues. Contact Mathworks at <Pro...

1 month ago | 0

Answered
Remove whitespace in Legend with Latex Labels
Cl=linspace(-1,1.4).'; Cm=linspace(4,3.2); Cm=repmat(Cm,8,1).'; Cm=Cm+[0 -0.075 -0.2 -0.255 -0.4 -0.455 -0.6 -0.655]; f=figur...

1 month ago | 2

| accepted

Answered
Gabriel Peyré’s Fast Marching Toolbox
It appears that if you go to the Version History tab and use the download link for the BSD license V 1.1.0.0 instead there are s...

1 month ago | 0

| accepted

Answered
using standalone app designer how to print figure using pushbutton ,thanks .
Include print in the callback function of your button. You will have to inform your users that the printer will have to first b...

1 month ago | 0

Answered
R2017b GUIDE does not create callbacks
I installed R2017b w/ update 9 and it seems to create the callback code just fine...did you install the last update? While I wa...

1 month ago | 0

| accepted

Answered
How can I insert breakpoints and implement debug step-by-step execution when running the FFE class functions in Serdes Designer Tools?
See and explore the <Test and Debug Simulations> documentation. In it you'll find that the simulation needs to be run under the...

1 month ago | 0

Answered
Readall stops because of non-existing data, Can I skip these?
A workaround until somebody can come up with the clean answer function fixupmissingfields(infile,outfile) % substitute NA int...

1 month ago | 0

| accepted

Answered
The file genGPZserdesADCCEI224G_MR.m is missing.
Submit this to Mathworks as an official support request/bug at <Product Support Page>. Since the Answers forum is not an offici...

2 months ago | 0

Answered
please help me to add legend in run figure as attached photo
function sol= proj clc;clf;clear; myLegend1 = {}; rr = [0 0.5 1 1.5 2]; numR = numel(rr); m = linspace(0,30); alfa=0.6; L...

2 months ago | 1

Answered
Force arrays to print to screen without multiplier
vProduct = 1.0e+03 *[ 0.0048 0.0076 3.1440 -0.0049 0.0076 3.9840 -0.0017 0.0076 -0.6840 -0.0...

2 months ago | 2

Answered
I keep getting the following error message: Execution of script Dummy as a function is not supported: C:\MusicalSoundAnalysis\Analysis\Dummy.m
The function keyword is missing the final "n" so it won't be recognized; hence, MATLAB thinks Dummy.m is a script and not a func...

2 months ago | 0

Answered
How do I access field name elements from structure?
m = dir([source,'/*.MAT']); for i=1:numel(m) fn=fullfile(m(i).folder,m(i).name); ... end Congratulations on the use of ...

2 months ago | 1

| accepted

Answered
Serial function and -nojvm?
It's not documented whether the serialport implementation does or does not use the Java component and since Mathworks has remove...

2 months ago | 1

| accepted

Answered
Audio meter horizontal bug in App Designer
Not unless it is submitted to Mathworks as an official support request/bug at <Product Support Page>. The Answers forum is not ...

2 months ago | 0

| accepted

Load more