Community Profile

# CARLOS RIASCOS

Last seen: 17 giorni fa Attivo dal 2017

#### Content Feed

Visto da

Risposto
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...

circa 3 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 0

| accettato

Risposto
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...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 1

Risposto
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....

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 1

Risposto
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...

oltre 4 anni fa | 0

| accettato

Risposto
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); ...

oltre 4 anni fa | 0

| accettato

Risposto
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) ...

oltre 4 anni fa | 0

Risposto
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...

oltre 4 anni fa | 1

| accettato

Risposto
How do I compute a line integral of a function over a helix?
Hello brother, here is a code I did with symbolic mathematics using the mathematical definition of line integral with a vecto...

oltre 4 anni fa | 0

Risposto
How to save a figure as a PDF with given aspect ration, resolution (and size)
Hello friend, maybe the following code will serve you. Basically what it does is to change the characteristics of the plot, p...

circa 5 anni fa | 0