Respondida
Getting the error "Dimensions of arrays being concatenated are not consistent" but I can't tell why. (See my code in the body of this post)
(y(1))^2 + (y(2))^2 -2*y(2)+2 (y(3)^2) - 5 Inside [] that is interpreted as (y(1))^2 + (y(2))^2 -2*y(2)+2, (y(3)^2) - 5 You a...

alrededor de 1 mes hace | 0

Respondida
Why does my code say incorrect number or types of inputs or outputs for function specifyCoefficients?
There is no 'Face' parameter for that call.

alrededor de 1 mes hace | 0

Respondida
Index exceeds number of array elements
You accidentally created a variable named log or named exp

alrededor de 1 mes hace | 0

Respondida
why iam getting error
The colon operator always has to be followed by a second parameter, except when it is being used as the sole index to an array. ...

alrededor de 2 meses hace | 0

Respondida
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)untitled('pushbutton1_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIContr
The .fig file was saved containing a reference to push​button1_Ca​llback but there is no push​button1_Ca​llback defined in your ...

alrededor de 2 meses hace | 0

Respondida
Hello, I have an array of values in "In", I would like to extract the samples in "In" between the indices specified in "SIdx" and "EIdx". SIdx and EIdx are also arrays.
In = 1:100; SIdx = [1 9 33 76]; EIdx = [5 13 42 83]; Out = arrayfun(@(S,E) In(S:E), SIdx, EIdx, 'uniform', 0).'

alrededor de 2 meses hace | 1

Respondida
How does wblrnd generate random numbers?
Each time a random number is generated, the current seed changes to another seed, in a complicated but deterministic manner. rn...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Is there a way to refer to elements in Matlab App using variables?
for r = 1 : 3 for c = 1 : 3 app.Button(r,c).Text = app.images(app.grid(r,c),1); end end

alrededor de 2 meses hace | 0

Respondida
Installing real time kernel on RHEL 9 (RedHat Enterprise 9)
You are using RedHat 9.3, but currently it is restricted to RedHat 9.2 https://www.mathworks.com/help/sldrt/release-notes.html ...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Data types in TABLE
Excel itself recognizes: numbers (including dates) text logical error such as #VALUE! Excel is unable to distinguish betwee...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Creating symbolic function with array for argument
You cannot create symfun that expect non-scalars as parameters. symfun takes all of the provided parameters, horzcat()'s them ...

alrededor de 2 meses hace | 0

| aceptada

Respondida
How to solve incosistent scientific format ?
Use strcmpi

alrededor de 2 meses hace | 1

| aceptada

Respondida
How do I include an image labeler in my application?
Helper apps such as Image Labler cannot be compiled.

alrededor de 2 meses hace | 0

Respondida
How can I change the colour of the axes?
ax.GridColor = 'k'; ax.GridAlpha = 1;

alrededor de 2 meses hace | 1

Respondida
Error in fitlm function
% Load data df = readtable('input_file.csv','VariableNamingRule','preserve'); dependent_vars = {'act_y_ha', 'act_per_ha'};...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Inverse of a symmetric matrix consisting of submatrices is desired.
N = symmatrix('N', [12 12]); B1 = symmatrix('B1', [12,5]); C1 = symmatrix('C1', [2,5]); B2 = symmatrix('B2', [12,4]); C2 = sym...

alrededor de 2 meses hace | 0

Respondida
Error in reading variables in netcdf files
data_specific=netcdf.open(fullFileName); %... lat=data_specific{'latitude'}(:); data_specific will be an ncid (netcdf i...

alrededor de 2 meses hace | 0

| aceptada

Respondida
I'm trying to get this plot to show me a function I can code in desmos, but is giving me the wrong plot in matlab. Any help would be appreciated
clc, close all, clear vars % Pieces of the function Q = 9.4*10^-6; % C q = 2.4*10^-5; % C e = 8.854*10^-12; % C^2/(Nm^2): pe...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Error using ^ when integrating a function
fun = @(r) (1+erf((-36.38+2.56.*log(5+((138.4-r)/4).*((26.964*2.71828.^(-0.0238*r)).^(4/3)))-5)/sqrt(2)).*r); Use vectorized op...

alrededor de 2 meses hace | 3

| aceptada

Respondida
Not enough input arguments for ode45
[time, state_values] = ode45(@(t,Y, updated_state) DPIC(t, Y, updated_state), tspan, IC); ode45() only has two values available...

alrededor de 2 meses hace | 0

Respondida
i want to know if a image can be made with the magnitude data of an FMCW radar?
imagesc(X_data, Y_data, Magnitude_data) or just imagesc(Magnitude_data)

alrededor de 2 meses hace | 1

| aceptada

Respondida
How to add graphs to genetic algorithm
what is meaning of "ga stopped because the average change in the penalty function value is less than options.FunctionTolerance a...

alrededor de 2 meses hace | 1

Respondida
Want to truncate an array
format long g A = [8.5766662529*10^22; 5.354353982*10^22;5.289634*10^22] round(A, 4, 'significant')

alrededor de 2 meses hace | 1

Respondida
Error using regstats (RESPONSES and DATA must have the same number of rows)
regstats regstats(y,X,model) performs a multilinear regression of the responses in y on the predictors in X. X is an n-by-p mat...

alrededor de 2 meses hace | 0

| aceptada

Respondida
how to access matlab remotely?
You need to use something like Remote Desktop, or TeamViewer. These require the cooperation of the remote system.

alrededor de 2 meses hace | 0

Respondida
Where can I download the latest version of AdiMat?
You can use the Wayback Machine https://web.archive.org/web/20210515144531/https://adimat.sc.informatik.tu-darmstadt.de/downloa...

alrededor de 2 meses hace | 1

Respondida
Convert Double 3D matrix into 3D Tiff file
https://www.mathworks.com/help/matlab/ref/imwrite.html#btv3cny-1-A A — Image data matrix Image data, specified as a full (no...

alrededor de 2 meses hace | 1

| aceptada

Respondida
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parenthe
You cannot define functions at the command line. When you do define functions, you must provide a list of plain (unindexed) var...

alrededor de 2 meses hace | 1

Respondida
Matlab error how to fix?
You cannot fix your code. It is not possible to create a uniform array in which the first column is datetime and the second colu...

alrededor de 2 meses hace | 0

| aceptada

Respondida
Fourier sine series plotting first term, first five term, and first 15 terms on one graph
x = 0:0.1:25; n = 1; ysin = fsin(x,n); plot(x,ysin) hold on n = 5; ysin = fsin(x,n); plot(x,ysin) hold on n = 15;...

alrededor de 2 meses hace | 1

| aceptada

Cargar más