Questions tagged [non-linear]

60 questions
0
votes
0 answers

Is there a way to identify a specific point when a certain gradient has been reached in a large dataset in R?

I'm trying to identify a specific day or week of each year when a gradient has been achieved of an increase in 'delta'. I have one value for each day of the year from 2000 to 2018, and I want to extract the day or week of each year that the specific…
0
votes
1 answer

How to manage time in non-linear idle game?

I'm new at Java and I'm trying to develop a non-linear idle game for Android. I'm a bit stuck on how to manage the "time" in my game. In linear idle game, I would have used System.currentTimeMillis() to update my model during game (application…
0
votes
1 answer

How to solve n non-linear equations in R, based on vectors/matrices

I am trying to solve a system of n equations in R. n-1 of the equations are non-linear and the last one is linear. If it helps, this is a constrained optimization problem, with the n-1 equation being first order conditions, and the last being a…
P_sam
  • 13
  • 2
0
votes
0 answers

How do you run nonlinear moderation using the nlsem package in R?

I'm just trying to learn how to use the nlsem package in R to fit nonlinear SEMM, but I keep running into to the error "Posterior probability could not be calculated properly. Choose different starting parameters" when I try to create the res…
bcd
  • 1
0
votes
3 answers

How to parse json with jq where the structure is non-linear

I hope I have represented my problem clearly. Need help querying and them parsing multiple json files using JQ where the structure is non-linear within each file. The application produces config data that can look like this example. There can be…
BrandonH
  • 31
  • 5
0
votes
1 answer

Trapezoidal Integration of nonlinear inductance

I have modeled the nonlinear inductor with Modelica, but the circuit can not be solved by trapezoidal integration, It is appreciated someone can help me to solve the circuit. model NonlinearInductor import Modelica.SIunits.MagneticFlux; extends…
0
votes
1 answer

Using mle2 for parameter estimates with error and predict

I'm using mle2 to estimate a parameters for a non-linear model and I want estimates of error around the parameter estimates (std. error). As well, I'd like to use the model to then predict with newdata, and I'm having problems (errors) with a couple…
0
votes
0 answers

Find equations to fit non-linear non-parametric model

My goal is to find a correlation between UNBALANCE_2, UNBALANCE_1, ANGLE_1, ANGLE_2 and W and make a prediction, so I'm decided to use regression, right now I have a problem to identify correct equations for my model. What I did I was used nls, but…
Nick Pietrushka
  • 125
  • 2
  • 11
0
votes
1 answer

How to solve a non-linear differential system with Python?

I have a non-linear differential system : (1) f''(t)=r(f(t)) and (2) g''(t)=s(f(t),g(t)) where s(f(t),g(t)) may be s(f(t),g(t))=f(t)*g(t) or s(f(t),g(t)) = cos(f(t))*sin(g(t)) ... and we know g and s. I want to solve this system with Python…
-1
votes
2 answers

Non-Linear Machine Learning Algorithms

I am working on a dataset using python I have 17 variables that need to be used to predict one thing (Thing being a %) is there any non-linear machine learning algorithms anyone knows that could achieve this. I have. already implemented a multiple…
-1
votes
1 answer

Is there a way to solve an equation in R?

I'm trying to write an equation in R, and then solve it. I'm fairly new to R, so it's probably a basic question, but I haven't been able to make much sense of the CRAN notes on several packages that come up with a google. My equation: F- b ln(|1+…
-2
votes
1 answer

Error while solving system of non-linear equations in MATLAB

I am trying to solve system of non-linear equation simultaneously on MATLAB. I am getting the error: Comma separated list expansion has cell syntax for an array that is not a cell". The screenshot of the error is attached: My code is given…
Muhammad Ali
  • 1
  • 1
  • 4
-3
votes
2 answers

Why are GPUs only used for linear algebra as opposed to nonlinear calculations?

I keep hearing that GPUs are useful because they are quick at linear algebra. I see how a GPU can be utilised to quickly perform linear calculations, and I see why that is useful, but I don't see why these calculations need to be linear. Why can't…
Pham Nuwen
  • 49
  • 4
-6
votes
2 answers

Algorithm to find all possible solutions for x1² + x2² + ... + xn² = 1

Is there any algorithm to find all possible solutions for this equation: x1² + x2² + ... + xn² = 1 Where xi > 0 and n >= 2 To limit solutions we can fix decimal point of x to 1. For instance: if n = 2, find all tuples (x1, x2) that satisfies x1²…
Pablo Abdelhay
  • 988
  • 1
  • 10
  • 12
1 2 3
4