Community Profile

photo

Mohit Kumar


Last seen: 11 months 前 自 2019 起处于活动状态

统计数据

All
  • Personal Best Downloads Level 4
  • 5-Star Galaxy Level 3
  • First Review
  • First Submission
  • First Answer
  • Revival Level 1
  • Thankful Level 3
  • Solver

查看徽章

Content Feed

排序方式:

提问


How to create a 3D matrix from subtracting 2D matrices (like creating 2D matrix from subtracting vectors)?
Hi, I wish to extend the behavior of subtracting a row vector and a column vector to matrices. Let me provide an example: Suppo...

2 years 前 | 1 个回答 | 0

1

个回答

已回答
How to construct this matrix without using two for loops?
I was able to figure out the answer to this. The formulation can be written as A = V' * X * V;

3 years 前 | 1

提问


How to construct this matrix without using two for loops?
Hi, I'm trying to construct a matrix in the following manner: sz=10; V=rand(sz,sz); X=rand(sz,sz); for iter1=1:sz for ...

3 years 前 | 1 个回答 | 0

1

个回答

提问


xlim is not working with the limitmethod option, and how to change its default behaviour?
Hi, I am trying to run xlim('tight') but this gives me an error. According to the documentation it should work. The error is: ...

3 years 前 | 1 个回答 | 0

1

个回答

已提交


Phase Portrait Plotter
Plot the phase portrait for the entered system of differential equations

3 years 前 | 214 次下载 |

Thumbnail

提问


How to solve a boundary value problem for a piecewise linear differential equation?
I have two a set of two second order differential equations to which I want to find a periodic solution. The differential equati...

3 years 前 | 0 个回答 | 0

0

个回答

提问


How to check if a user entered input will form a valid function handle?
The user enters a character vector (in the edit text field of Appdesigner). I want to convert it into a function handle. I am do...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to get mouse coordinates in GUI (AppDesigner) ?
I am using MATLAB App Designer and have inserted axes into the app. When the user clicks a button, I want them to be able to t...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Why is fimplicit not plotting x^2 = 0 ??
I have a code that takes in an implicit function from the user and then plots it. However, I ran into this odd problem where fim...

3 years 前 | 2 个回答 | 0

2

个回答

提问


How to find all solutions to a system of two nonlinear equations?
I have a system of two nonlinear equations (f(x,y)=0 and g(x,y)=0) to which I want to find all roots over a region (say x from -...

3 years 前 | 2 个回答 | 0

2

个回答

提问


How to plot a vector field with coloured arrows?
I'm trying to create a vector field where the colour of the vector represents its magnitude like the one shown in the picture. A...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to display Live Editor output in multiple lines?
I have large equations in the output of my code that I want to view. However, in the Live Editor output window it only allows me...

3 years 前 | 1 个回答 | 0

1

个回答

已回答
how to use a excel colum as an input to a function
Hi Giovanna, To change your function so that it works with matrices, all you have to do is replace your multiplication and divi...

3 years 前 | 0

已回答
How to solve such a system of nonlinear equations?
Hi, I think this might be a better approach to your problem : img=zeros(320,320); % create a 320x320 zeros matrix to represen...

3 years 前 | 0

提问


How to ensure that dsolve provides a trigonometric solution to a second order differential equation?
Hi, I'm trying to solve the following linear second order equation with dsolve in the symbolic workflow. When I solve it I g...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to numerically solve a differential equation with a dirac delta function ?
The differential equation that I want to solve is Upon using ode45 and the dirac function, the dirac function doesn't seem t...

3 years 前 | 1 个回答 | 0

1

个回答

提问


Symbolic toolbox not simplifying adequately
I'm using MATLAB Live Editor along with the symbolic toolbox. The following expression is not getting simplified. Any fixes? ...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How to (cleverly) index points in a plot?
I have a for loop which plots a point each iteration. In total there are about 4000+ points to be plotted. From the figure, I w...

4 years 前 | 1 个回答 | 0

1

个回答

已回答
Issue with fsolve tolerance
Turns out function tolerance is compared with norm(fval)^2and the default tolerance was 1e-3. Simply changed it to 1e-10 (in acc...

4 years 前 | 0

| 已接受

提问


Issue with fsolve tolerance
I am using fsolve to solve an overdetermined system of equations using the levenberg marquadt algorithm. It works fine although...

4 years 前 | 1 个回答 | 0

1

个回答

提问


How to repeat a column several times?
Consider this scenario - a =[1;2.3;3.2;4.5;5.7]; b=[a,a,a,a,a]; Is there a better way to do this?

4 years 前 | 0 个回答 | 0

0

个回答

已解决


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

4 years 前

已解决


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

4 years 前

已解决


Return area of square
Side of square=input=a Area=output=b

4 years 前

已解决


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years 前

已解决


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]; ...

4 years 前

已解决


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

4 years 前

已解决


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years 前

已解决


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 years 前

已解决


Add two numbers
Given a and b, return the sum a+b in c.

4 years 前

加载更多