Respondida
App running slowly after some time
As J stated, without seeing the code it's going to be difficult or perhaps impossible to offer any concrete suggestion. But from...

más de 1 año hace | 0

Respondida
For Loop Increment Array
I wrote the code according to my lesson but it keeps inserting a 0 between each number in the array. It doesn't so much insert ...

más de 1 año hace | 0

| aceptada

Respondida
What About My Matrix Makes eig Inaccurate?
N = 30; f_matrix = zeros(N, N); even_sum_matrix = zeros(N, N); odd_sum_matrix = zeros(N, N); for t = 1:N for s = 1...

más de 1 año hace | 1

| aceptada

Respondida
Need help to solve with ncmlogo.m
Let's look at the text of the error message. Incorrect use of matlab.graphics.chart.primitive.Contour/setZDataImpl Z must be a...

más de 1 año hace | 1

| aceptada

Respondida
Unhelpful error message: Conversion to matlab.ui.control.Table from table is not possible.
Please send this enhancement request to Technical Support directly using this link.

más de 1 año hace | 0

| aceptada

Respondida
Argument validation for class methods
The class specification of the obj argument seems superflous and should be self-evidently true. Not necessarily. The first inpu...

más de 1 año hace | 0

| aceptada

Respondida
How can I apply data in function?
I'm not sure I understand your question. Are you asking about how to pass input arguments into a function? If so see this docum...

más de 1 año hace | 0

| aceptada

Respondida
Solving unknown matrics to the power 20
p = [1 0 0 0 0 0 0]; R = [9; 8; 7; 6; 5; 4; 3]; CR = [0.45]; RHS1 = CR./(p*R) Did you perhaps mean to take the outer product...

más de 1 año hace | 0

Respondida
How to use the class of Interleaved ADC.m?
Do either of these two examples (example 1, example 2) provide the information you seek about the functioning of the Interleaved...

más de 1 año hace | 0

Respondida
I am trying to figure out how to use writetable instead of xlswrite, but the feature is converting my numbers to text. Headers are text.
Don't concatenate Excel_head and Excel_out together. Store them as separate table variables. load patients; LNS = string(LastN...

más de 1 año hace | 0

Respondida
How to measure time of matrix multiplication in matab?
As stated on this documentation page, "Sometimes programs run too fast for tic and toc to provide useful data. If your code is f...

más de 1 año hace | 0

Respondida
Fill colour in a scatter plot
This wasn't an option when the question was originally asked, but if you're using release R2023a or later you could use xregion ...

más de 1 año hace | 1

Respondida
Difference between %d and %f?
If you want to print integer values, you probably want to use %d. If you want to print non-integer values, you probably want to...

más de 1 año hace | 2

Respondida
viscircles function generates an error message
I'm guessing you've created your own line.m that's taking precedence over the line function that is part of MATLAB. To check thi...

más de 1 año hace | 0

Respondida
Is there a way to check code generation compatibility for a mlapp file?
By "code generation" do you mean generating C or C++ code using MATLAB Coder? I'm fairly certain that's not going to work, as it...

más de 1 año hace | 0

| aceptada

Respondida
simulink online not working
What does "the drag options cannot be used" mean in this context? Do you receive warning and/or error messages? If so the full ...

más de 1 año hace | 0

Respondida
I have a MATLAB 2022 code that used the poly.intersect function--I can't find in R2024 and need a workaround
Please don't start a new question that duplicates one that already existed. Add comments to the one that already existed. I don...

más de 1 año hace | 0

Respondida
how to solve coding issue
Just looking at your first for loop there are several problems or suggestions. for i=14:22 figgcf=figure(i); This line cr...

más de 1 año hace | 0

| aceptada

Respondida
Generating Multivariate Polynomial Coeffients with known Constants
See the Multiple Regression section on this documentation page for an example you can adapt to your equation. Make sure you use ...

más de 1 año hace | 1

| aceptada

Respondida
jsondecode error occurring while running the quantum computer
Please see Bug Report 3241896.

más de 1 año hace | 1

| aceptada

Respondida
ismember returning false for 0.6000 == 0.6
This behavior is a consequence of floating point arithmetic. See this Answers post and the "Avoiding Common Problems with Floati...

más de 1 año hace | 2

| aceptada

Respondida
The input was too complicated or too big for MATLAB to parse.
What exactly did you expect this section of code to do? OOS_strum=OOS_strum(:,b);lucadrive-------------------------------------...

más de 1 año hace | 0

| aceptada

Respondida
Calling subclass functions to manipulate inputs for superclass constructor?
I have a user-created subclass bar < handle. Don't call your class bar. It already has a meaning in MATLAB. Looking at the bod...

más de 1 año hace | 0

| aceptada

Respondida
Logic statement error checking an array within a cell within a table
Let's break this line of code down into pieces. I've commented it out so I can run code later in this answer. % if 1 == ismembe...

más de 1 año hace | 0

Respondida
Maximum variable size allowed by the program is exceeded. FOR OCDM MODULATION
Since: num_ModemOrder = 64; % Oder da modulaQAM This line of code (which I've commented out since it's not going to work and ...

más de 1 año hace | 1

| aceptada

Respondida
I would like to save each Thex array created in each loop as its own array. How can i create a variable that has its name adjusted with each loop and saves each loop result?
Can you dynamically create variables with numbered names like T1, T2, T3, etc.? Yes. Should you do this? The general consensus ...

más de 1 año hace | 0

Respondida
Incorrect number or types of inputs or outputs for function solvepde.
When I run your code, tmodel is a pde.ThermalModel object but the solvepde function is defined only for pde.PDEModel objects. p...

más de 1 año hace | 0

| aceptada

Respondida
Single Plot Command is Creating Numerous Legend Entries
From the documentation for the plot function, in the description of the X input argument: "Alternatively, specify X and Y as mat...

más de 1 año hace | 0

Respondida
Error when using range slider (uislider)
According to the Version History section of the uislider documentation page, the ability to create a range slider by specifying ...

más de 1 año hace | 1

| aceptada

Respondida
how to get fit coefficients and the file name ?
You can perform the fitting once in the Curve Fitting app then generate MATLAB code from that interactive fit that you can later...

más de 1 año hace | 0

| aceptada

Cargar más