Answered

Error message: Too many input arguments

Maybe the round function was not compatible with symbolic variables on previous version. Try this approach: Convert matr to f...

Error message: Too many input arguments

Maybe the round function was not compatible with symbolic variables on previous version. Try this approach: Convert matr to f...

2 years ago | 1

| accepted

Answered

Error message: Too many input arguments

Hi Quy! What version of MATLAB are you using? Your code works in MATLAB 2021b syms A1 B1 A2 B2 A3 B3 A4 B4 eq1 = A1*log(4)+...

Error message: Too many input arguments

Hi Quy! What version of MATLAB are you using? Your code works in MATLAB 2021b syms A1 B1 A2 B2 A3 B3 A4 B4 eq1 = A1*log(4)+...

2 years ago | 1

Answered

Why does it return 0 value? (Plotting fourier series)

Hello Tu, Check the definition of F_0, it's empty clc clear all close all L = 1; syms x n = [-4:4]; rectn = rectangula...

Why does it return 0 value? (Plotting fourier series)

Hello Tu, Check the definition of F_0, it's empty clc clear all close all L = 1; syms x n = [-4:4]; rectn = rectangula...

2 years ago | 0

Answered

How can I Plot Curves all starting at a specific Point (0;900).?

Hi Andy, if I have understood correctly this should work % MATLAB Answers: How can I Plot Curves all starting at a specific P...

How can I Plot Curves all starting at a specific Point (0;900).?

Hi Andy, if I have understood correctly this should work % MATLAB Answers: How can I Plot Curves all starting at a specific P...

2 years ago | 0

| accepted

Answered

How to remove the number 0 between index1 & index2 ?

Hi Seungkuk, There you have it. The tricky thing here is that you have to create a vector of the same length as your input, who...

How to remove the number 0 between index1 & index2 ?

Hi Seungkuk, There you have it. The tricky thing here is that you have to create a vector of the same length as your input, who...

2 years ago | 0

| accepted

Answered

plot is showing blank

Hello Kundan, Some comments: H1, I could not find the value in the paper. See Ref 22. and verify the value. R_T is the para...

plot is showing blank

Hello Kundan, Some comments: H1, I could not find the value in the paper. See Ref 22. and verify the value. R_T is the para...

3 years ago | 0

| accepted

Answered

plot is showing blank

Hello again Kundan, I have to go and couldn't find the exact error. Some comments: Check the value of the constants and unit...

plot is showing blank

Hello again Kundan, I have to go and couldn't find the exact error. Some comments: Check the value of the constants and unit...

3 years ago | 0

Answered

Insert Mathlab figure in Latex

Hello Telema, It appears that the Latex compiler you are using could not find the file. Usually empty spaces give errors. Try r...

Insert Mathlab figure in Latex

Hello Telema, It appears that the Latex compiler you are using could not find the file. Usually empty spaces give errors. Try r...

3 years ago | 0

| accepted

Answered

Save app designer UITree to .mat file?

Hello Rod, maybe this small app can help you. This code creates an GUI that contains initially a UITree component with different...

Save app designer UITree to .mat file?

Hello Rod, maybe this small app can help you. This code creates an GUI that contains initially a UITree component with different...

3 years ago | 0

Answered

What do I have to fix the plot to make it work?

As @Sulaymon Eshkabilov has said, the formulation has some kind of typo. Check the definition of mu first, e.g., is the last ter...

What do I have to fix the plot to make it work?

As @Sulaymon Eshkabilov has said, the formulation has some kind of typo. Check the definition of mu first, e.g., is the last ter...

3 years ago | 1

Answered

How can I define a foor loop in which there is a bootci function?

I have not checked all the code, but that error is because you are not declaring the inputs well. Use { } inside bottci function...

How can I define a foor loop in which there is a bootci function?

I have not checked all the code, but that error is because you are not declaring the inputs well. Use { } inside bottci function...

3 years ago | 0

| accepted

Solved

The Piggy Bank Problem

Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 years ago

Question

Find matches without repetition from two cell arrays + extra condition

Hello, In order to reduce the size of a matrix I need to find all the elements of the periodic table (patterns - cell 1) of all...

6 years ago | 1 answer | 0

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

6 years ago

Solved

Find the sum of all the numbers of the input vector

Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

6 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]

In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6 years ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 years ago