Anthony Sirico
Followers: 0 Following: 0
Statistiques
RANG
21 995
of 295 467
RÉPUTATION
2
CONTRIBUTIONS
18 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
1
RANG
of 20 234
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
convert cell of cells to individual variables
If you take a look at the objectives photo, i have a cell that contains 32612x1 cells, each will either contain a 200x5 double, ...
environ un an il y a | 1 réponse | 0
1
réponseQuestion
pass a struct through a loop to extract data and have the i in the loop added to the name
The objective is at the bottom of this code, and it is to run a loop over structs, to read each one, apply an if statement and t...
presque 2 ans il y a | 2 réponses | 0
2
réponsesQuestion
only one plot line is showing
%%plot1 subplot(1,2,1) gscatter(labels_sorted, 1:N, binary); hold on line([label_25 label_25], [0 n_25], 'Color', 'k') line(...
presque 2 ans il y a | 1 réponse | 0
1
réponsestd::runtime_error, undefined symbol FT_Gget_Transform
sudo rm /bin/glnx64/libfreetype.so* Then works!
presque 2 ans il y a | 1
| A accepté
A résolu
Calculate BMI
Given a matrix hw (height and weight) with two columns, calculate BMI using these formulas: 1 kilogram = 2.2 pounds 1 inch = 2...
presque 2 ans il y a
A résolu
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
presque 2 ans il y a
A résolu
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
presque 2 ans il y a
Question
std::runtime_error, undefined symbol FT_Gget_Transform
I am using opensuse Tumbleweed, and after extracting the files, I run sudo ./install --inputFile installer_input.txt, the output...
presque 2 ans il y a | 1 réponse | 0
1
réponseQuestion
How to use a function within optiproblem?
My minimization function is: pi = x(1)+x(2)-rho*min(0,x(1)^2+x(2)^2 how can i use this equation in optimproblem? prob = optim...
presque 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Optimization problem with lower and upper bounded constraints
maximize:x0.063x4x7 −5.04x1 −0.035x2 −10x3 −3.36x5 subject to: x5 = 1.22x4 −x1 x6 = (98000 x3x4)/(x9 + 1000x3) x8 = (x2 + x5)...
presque 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Live Editor output fractions to decimals
Is there a way in the live editor to change the output from fractions to decimals?
environ 3 ans il y a | 1 réponse | 0
1
réponseState Space with Disturbance Matrix
You cannot use the ss function symbolically.
plus de 3 ans il y a | 0
Question
plot a function that has a variable that changes with time
The function has a variable ap that changes at t >= 100s. How do I plot that? close all; clear; clc tspan = [0 150]; x0 = [1]...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Call a function with multiple nonlinear eqns with ODE45
I created a function with multiple nonlinear equations, and inside that function i call on another function that uses a time par...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Finding critical/equilibrium Points of a nonlinear System
I'm given the following nonlinear equations: Dx1 = @(x1,x2) (x1-1).*(x1+x2); Dx2 = @(x1,x2) x2 - x1.^2; What would be the bes...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Using subs in a matrix of equations
If i have a matrix of eqns, how can i sub in certain letter values now. I am using a live script where the first section creates...
plus de 3 ans il y a | 1 réponse | 0
1
réponseQuestion
Error using DynamicSystem/lsim
clear; clc; close all; A = [1 0 0 0; 0 -1 0 0; 0 0 -2 0; 0 0 0 -3]; B = [1 0; -1 1; 0 -1; 1 -1]; C = eye(4); D = 0; X0 = ...
presque 4 ans il y a | 1 réponse | 0
1
réponseState Space in lsim keeps returning 'Matrix dimensions must agree'
t has to be 1x4.
presque 4 ans il y a | 0
| A accepté
Question
State Space in lsim keeps returning 'Matrix dimensions must agree'
A = [1 0 0 0; 0 -1 0 0; 0 0 -2 0; 0 0 0 -3]; B = [1 0; -1 1; 0 -1; 1 -1]; C = eye(4); D = 0; X0 = [-2; -1; 1; 2]; EvA = eig...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
simulate State Space system with lsim
A = [0 1 0 0; 0 0 1 0; 0 0 0 1; -2 -5 -7 -2]; B = [0; 0; 0; 1]; C = [1 3 0 0]; D = 0; t = 10; sys = ss(A,B,C,D); x0 ...
presque 4 ans il y a | 1 réponse | 0
1
réponseQuestion
SS2TF Error
sysm s R1 R2 C1 C2 A = [-(R1+R2)/(C1*R1*R2) 1/(C1*R2); 1/(C2*R2) -1/(C2*R2)]; B = [1/(C1*R1); 0]; C = [0 1]; D = 0; [n,d]...
presque 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Local Function not being Entered
I am trying to create a recursive algorithm, with a local function. But when i test the alg, the initial input variables don't s...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Calling python in MATLAB
In the below code, I have a Depth First Search with the pseudocode and the python code. My first question is how can I call this...
environ 4 ans il y a | 1 réponse | 0
1
réponseQuestion
Creation of edge set for a specific perfect matching number
N = input('N='); %Number of vertices J = 1:2:N-1 %odd numbers to N-1 P = [1, cumprod(J)] %Double Factorial V = 1:1:N %availab...
environ 4 ans il y a | 1 réponse | 0
1
réponseA résolu
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
environ 4 ans il y a
A résolu
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
environ 4 ans il y a
A résolu
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 ...
environ 4 ans il y a
A résolu
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...
plus de 4 ans il y a
A résolu
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:...
plus de 4 ans il y a