Answered
Matlab 2017a not opening in Mac OS 14.2.1
You are correct, MATLAB R2017b is too old to open on MacOS Sonoma. If you try to open it directly, you will get a crash messag...

2 years ago | 0

Answered
does matlab version 2021a have forecast command !!!!
It looks like you named your script forecast.m and you expect that script forecast.m to be able to call the forecast() function....

2 years ago | 0

Answered
Running 2016b Matlab Coder on macOS Ventura 13.6.3
You cannot run R2016b on an M1 Mac. R2020b Update 3 is the earliest release with Apple Silicon support. No supported compiler o...

2 years ago | 0

Answered
Matlab2019 on MacOS Monterey?
I installed Monterey on an Intel iMac . I then installed MATLAB R2019b without any problems. If you were attempting to install ...

2 years ago | 1

Answered
Reducing resolution imagesc by convolution
v = imread('peppers.png'); tiledlayout('flow') nexttile() imagesc(v); title('original'); nexttile(); imagesc(v(1:10:en...

2 years ago | 0

Answered
implicit conversion doesn't work with some functions
classdef A < double means that A takes in double and returns objects of class A. q = interp1(X,Y,a,"spline",'extrap'); You th...

2 years ago | 0

Answered
Code lin 45 strfind not enough imput arguments. I am confused why this is.
file_found = dir([filter_list{n_f} '.txt']); That is returning empty if isempty(file_found) So that branch is executed ...

2 years ago | 0

Answered
How do I plot multiple Y axis data?
[TempS, idx] = sort(Temp); PrdS = Prd(idx); plot(TempS, PrdS, 'o-', 'color', 'red', 'LineWidth', 2)

2 years ago | 1

| accepted

Answered
how to reduce symbolic calculation precision?
The below code was developed to specifically search for a small constant multiplied by something %create some demonstration dat...

2 years ago | 0

Answered
Matlab not responding after imshow()
The problem is in the closing of the figure. The problem happens on MacOS Sonoma See https://www.mathworks.com/matlabcentral/an...

2 years ago | 0

| accepted

Answered
Txt. file i need to transpose
M = readmatrix('18.01.txt', 'delimeter', ';'); Mt = M.'; writematrix(Mt, '18.01.transpose.txt', 'delimeter', ';');

2 years ago | 0

Answered
How to use symbolic equation?
The basic problem is that subs() does not change the thing being substituted into. You would need to have Ao = subs(...) Also,...

2 years ago | 1

Answered
How to perform minimization with fminsearch and fmincon
%guesses for initial conditions x0 = linspace(-1,1,26); y0 = linspace(-2,2,26); w0 = linspace(-3,3,26); xyw0 = [x0, y0, w0];...

2 years ago | 1

Answered
Support for JDK 17 or 21, Running MATLAB R2023b on linux on ARM 64 bit processors
Could you point me to a clear set of instructions to setup MATLAB on linux runnning on 64 bit ARM processors? There is current...

2 years ago | 0

Answered
I created a text file but, need it to include a title and time of when it was created.
Change title('Meda 05 Temperature Climatology'); to report_date = datetime('now', 'Format', 'yyyy-MM-dd'); fprintf(FID, 'Med...

2 years ago | 0

| accepted

Answered
How much Mac memory can Matlab utilize?
Will Matlab R2023b utilize all free memory on the laptop, or does it adopt some upper limit of the memory it attempts to access?...

2 years ago | 0

Answered
expression to function using syms
Assuming a b reg1 reg2 are known ahead of time: syms x [1 26] syms y [1 26] syms w [1 26] f = 0; for i = 1:numel(a) r1...

2 years ago | 1

| accepted

Answered
Find the 137th character in a file?
datastruct = load('data1.mat'); T = datastruct.T; item_of_interest = T(137);

2 years ago | 1

| accepted

Answered
using image command for data with three columns
cmap = [1, 1, 0; 0.7, 0.7, 0.7; 0.929, 0.694, 0.125] pointsize = []; scatter(x, y, pointsize, third_column...

2 years ago | 1

| accepted

Answered
I need help updating the entered_code variable within the functions.
entered_code is local to each of the functions. http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_function...

2 years ago | 0

Answered
count of negative vector elements
Using sign() could be okay. The rough outline would be to take the sign() of the values, then to test the sign() twice, once for...

2 years ago | 0

Answered
Why is it Showing this error? Help me please.
Change cl=load("clnaca0018.mat","cl"); cd=load("cdnaca0018.mat","cd"); to cl=load("clnaca0018.mat","cl"); cd=load("cdnaca00...

2 years ago | 0

Answered
Save a variable during parfor loop
parfor divides the range up into chunks according to the number of pool members. Furthermore, it generally starts from the end o...

2 years ago | 0

Answered
I'm dealing with Speech compression using CELP. And I'm having some problems.
handel.wav = 'C:\Users\user\Desktop\CELP\handel.wav'; That creates a struct named "handel" with a field named "wav" that is th...

2 years ago | 0

| accepted

Answered
Calling third party functions in App Designer
Just make sure that the folders are on the MATLAB path, and call them normally.

2 years ago | 1

| accepted

Answered
Utilizing the HDF5 library in Matlab
MATLAB does not provide an interface to those calls. You would have to use an external library, and call it from inside MATLAB;...

2 years ago | 0

Answered
how to solve this problem?
Q_p = [Q1 Q2 Q3 Q4 Q5] That is a vector. if (Q_p >= 50) & (Q_p < 250); You are testing the vector to see if it is >= 5...

2 years ago | 0

Answered
Output 0x1 sym solving a system of equations
you need to solve for the same number of variables as you have equations. You do not have to pay attention to the uninteresti...

2 years ago | 1

Answered
Derive function handle with a vector input argument
q=[3 2 2 3]; f=@(p,x,y) p(1)*x.^2+p(2).*y.^2+p(3)*x.*y+p(4); syms p [1 4] syms x y df=diff(f(p,x,y),x) dfdx = matlabFunctio...

2 years ago | 0

| accepted

Answered
Cell contents reference from a non-cell array object
Try inDS(1) = constStruct1; This assumes that inDS has only fields time and signals . If it has additional fields then there i...

2 years ago | 0

Load more