Community Profile

photo

Nikhil Negi


Active since 2018

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 1
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Create new matrix by date/time
Hello Samantha, If you didn't have any header in your file you could have directly used <https://www.mathworks.com/help/matla...

6 years ago | 0

Answered
How can I create a multistep function with variable number of steps in simulink?
Hello Evan, You can use a selector block to select different elements of a vector. I've modified your example you can see it ...

6 years ago | 1

Answered
Calculate current in RLC using Euler
Hello Joao, if you can define this equation in matlab the following way. syms i(t); ode=diff(i,t)==40*sin(60*t)-2...

6 years ago | 0

Answered
Reformulate a Constrained Linear Least Square Problem
Hello Jason, let me see if i understand your problem coorectly you want to minimize the function J which is constrained by th...

6 years ago | 1

Answered
How can I transform s domain to z domain at Matlab ?
Hello Berk, you can use 'c2d' function in matlab to convert a continous transfer function into a discrete transfer function. ...

6 years ago | 3

| accepted

Answered
How to compare the content of 2 cells and get the content from cell1 column1?
Hello chocho, you can use temp=ismember(cell1,cell2(:,2)) ans=all(temp); if ans=1 then cell1 is a subset of cell2 column 2(...

6 years ago | 0

Answered
How to access text files from many subfolders within a folder?
Hello Vishvendra, from what i can deduce from your description, you already have a list of folders you need. I will suggest ...

6 years ago | 0

| accepted

Answered
Nonlinear optimization with differential equations in Constraint
i can think of two ways you can try both try replacing the dX/dt = g(X,u) with dX/dt = g(X,h(X)) so eventually you have dX/dt ...

6 years ago | 1