Answered
difference between data(:,3:4) and data(:,end:end-1) in data=7x4 matrix
Order matters. I'm going to make the second number a little bigger to more clearly illustrate what's going on. v1 = 3:5 v2 = 5...

2 years ago | 0

Answered
Matlab readmatrix inconsistently reading csv files
If you know exactly how many header lines your file contains, I would specify the NumHeaderLines name-value argument in your rea...

2 years ago | 1

| accepted

Answered
Solving linear systems in Matlab
Define a new variable y such that y = x+b. Using this new variable simplifies your system to u = A*y. Solve this simplified sy...

2 years ago | 0

Answered
sqlwrite round up number when use in stand alone app
I'm guessing that you're computing the values that are being rounded from the input arguments to your application. Is that corre...

2 years ago | 0

Answered
Is it possible to combine parameterized and non-parameterized tests in the same test class?
My question is whether it is possible to also include non-parameterized tests (i.e., tests that run only once) in the same class...

2 years ago | 0

| accepted

Answered
Default argument expression with multiple outputs
Write a local function that calls function_with_multiple_outputs with multiple outputs then returns only the one you want to use...

2 years ago | 0

| accepted

Answered
Computing 3d plot with three AxBxC arrays
Based on what Star Strider posted and looking at the Types of MATLAB Plots page in the documentation (which is also available in...

2 years ago | 0

| accepted

Answered
Where does the `empty` method come from?
For question 1, as Bruno Luong wrote in this other question you asked, 'In this empty doc page one can read "empty is a hidden,...

2 years ago | 0

| accepted

Answered
Outputting the number of clusters found by linkage or dendrogram functions
Do either the second or third output argument from the dendrogram function give you the information you're looking for? X = ran...

2 years ago | 0

Answered
How does Matlab calculate the feedforward of a neural network?
If I had to guess I suspect you forgot about the Input and Output Processing Functions, as described in the section by that name...

2 years ago | 0

| accepted

Answered
Averaging Multiple Matrices into a single matrix of same Dimensions
Making a 3-dimensional array this size does consume a good chunk of memory, but if you have it available storing the matrices as...

2 years ago | 0

| accepted

Answered
row ranking among multiple matrices
Call sort with two outputs. Use the second output to reorder the other arrays. See the "Sort Vectors in Same Order" example on t...

2 years ago | 1

Answered
Setting default line widths for all plotting functions
Looking at your second question first, if you look at the end of the fimplicit function's documentation page, there's a link to ...

2 years ago | 2

| accepted

Answered
How to plot a 2D histogram with data for x, y and z intensity values (without mesh grid)
I think what you want is the xcorr2 function from Signal Processing Toolbox. I think if you adapt the "Align Two Images Using Cr...

2 years ago | 0

Answered
Error using plot Vectors must be the same length.
You can create a vector in MATLAB using any three of the four pieces of data starting point, ending point, space between points,...

2 years ago | 0

Answered
Remove specific outliers from double
Use normal indexing to replace the outliers in certain columns using filloutliers. A = magic(5); A(3, :) = A(3, :) + 100 % Cre...

2 years ago | 0

Answered
in the below mentioned code, i get an error in finding some elements (not in all) : 0×1 empty double column vector
This behavior is a consequence of floating point arithmetic. See this Answers post and the "Avoiding Common Problems with Floati...

2 years ago | 0

| accepted

Answered
Certified MATLAB Professional process
Based on the statement on this page that the Certified MATLAB Professional exam is delivered "at any MathWorks owned facility" I...

2 years ago | 0

Answered
how can i rewired by replacing 2 edges at random then the code will be ?
You've been asking a lot of questions about how to manipulate graph objects in MATLAB. If you haven't already I strongly recomme...

2 years ago | 1

Answered
Nested for loops to compile all possible combinations of two vectors
If upgrading to release R2023a or later were an option you could use the combinations function. vector1 = [1 2 3 ]; vector2 = ...

2 years ago | 0

Answered
Unrecoginized Fieldname although it should be correctly defined
As others have said, you cannot index into a multi-level struct array using the .() notation like that. For this you'd probably ...

2 years ago | 0

Answered
Plotting variables from an implicit function
Let's vectorize your function and see what it looks like when you plot it as a surface. dmin=0.2; fs=250e3; Vo=40; Coss=126e-12...

2 years ago | 0

Answered
Can't open Documentation on dual screen laptop
Let's make sure you don't have a function named split that's taking precedence over the split function included in MATLAB. What ...

2 years ago | 0

| accepted

Answered
i need a documentation about creating a Simulink simulation file from Matlab code
You mean programmatic creation and editing of a Simulink model? See this section of the documentation.

2 years ago | 0

Answered
How to stop the regional popup?
I've brought this to the attention of the group responsible for the website.

2 years ago | 1

| accepted

Answered
Seeking guidance on becoming a MATLAB Student Ambassador in Greece and eager to connect with fellow math enthusiasts interested in integrating technology into mathematics edu
You can apply to be a MATLAB Student Ambassador using the Apply Now button on the MATLAB Student Ambassador page.

2 years ago | 1

| accepted

Answered
I don't want any imaginary number , and I don't want any negative number in my matrix, but none of MathWork can even answer it.
I have not read through all your code, but I think there are a number of functions or pieces of functionality that may be of int...

2 years ago | 1

Answered
Files are missing in Matlab R2023a
which -all getSystemInterface which -all createcounterpart which -all GraphViz.p I don't believe there are any files by those...

2 years ago | 0

Answered
Matlab argument validation either specific vector size or empty
There's no way with the ()-based size specification to say "the inputs must be EITHER this size OR this size" other than through...

2 years ago | 0

Answered
What are the steps and functions to be followed to fit copula to a dataset. How to determine the best fit copula for the dataset? Brief the steps in detail.
See the copulafit function in Statistics and Machine Learning Toolbox. The documentation page has an example you may be able to ...

2 years ago | 0

Load more