Community Profile # CARLOS RIASCOS

Last seen: 2 days ago Active since 2017

#### Statistics

• • #### Content Feed

View by

How can I extract fields from a structure and create variables in the MATLAB workspace for example i need to extract every row in the field of position as shown below
You can try to understand a structure from the following code, in which several types of data are defined within a structure cal...

2 years ago | 0

Convert a numerical variable in a table to string
Starting from the fact that you have the variable 'pic = [70, 40, 60, 70, 50, 65 ...]' defined you could convert that row vector...

3 years ago | 0

Solving nonlinear 2nd order differential equation with signum using ODE solvers?
Hello friend, in what I could see was from your work I realized two things that can help you. The first is that you can model as...

3 years ago | 0

| accepted

Is there any way to use multiple tolerances in ODE solvers?
Hello friend, you could try, generate for example two systems of equations one with slow dynamics and another with fast dynamics...

3 years ago | 0

How can I found the value of 'x' such that I should get the known value 'y' in below equation ?
I recommend you look at this: https://es.mathworks.com/help/symbolic/solve.html. teaches you how you can with symbolic mathemati...

3 years ago | 1

Help with writing a code for computing the area under a curve.
Hello brother, I hope that my code can help you, it is the trapezoidal method defined in the attached image. <<http://test....

3 years ago | 0

How can I create this function?
This code should return in the variables: B_mtrx_a, C_mtrx_a, a_; a "history" of calculations of matrix B, C and vector a. Obser...

3 years ago | 1

How can I correctly use consecutive numbers in a iteration?
Hello friend, I did this for you, I hope it helps you. Note: Change the values ​​of the variables mk and e to the values ​​th...

3 years ago | 0

| accepted

ode45 Not enough input arguments
try this: function dvdt = gprime(t,v) global R global C V = 5*sin(30*2*pi*t) + 0.1*sin(5400*2*pi*t); ...

3 years ago | 0

| accepted

How to create a program that compares outputs in dictionary lexicographic
Hi, try this function, it worked for me !, look how I use it in the image: function tlex = compare(int1,int2) ...

3 years ago | 0

How can I create this function?
I did this for you, I hope it serves you. % Definition of constants: k=2; Bj=[1 2; 3 4]; %In this case Bj is...

3 years ago | 1

| accepted