Community Profile

Contact

Top 5% contributor

The purpose of this function file is to create a function to pass to fsolve.

3 downloads

3 years ago

Hey all, I'm trying to pass some equations to fsolve, but I'm getting nothing but errors. I have 3 complex equations, and to ...

2 Answers

0

Asked 3 years ago

...the following error? I've looked in the help files and in previous questions to no avail. I am setting up an iteration as f...

Hey all, I'm running the piece of code here: data = csvread('data.csv'); assert (mod(size(data, 1), 3) == 0, ... ...

Say I have an array in a .csv file like this: a,b,c,d,e,f 20,1,10,100,1000,100 21,2,20,200,2000,200 22,3,30,300,3000...

Hey all, I had a strange question that I couldn't find an answer for, perhaps I could get some help here? A friend of mine wa...

1 Answers

Asked 2 years ago

Hi, I'm trying to run a program I put together, but I keep encountering a MuPAD error partway through. The program is exactly t...

Hey all, I'm creating a function to pass to fsolve, to be solved in terms of V. When I run my program, however, Matlab retur...

Hey all, I've been working on some code, and I have two questions: 1) If I'm using fsolve, and one of my guesses is zero, wi...

Hey all, quick question: I've been trying to pass along data to an fsolve command all morning, but I keep running into errors...

Hey all, I've been analyzing lots of data recently, and thanks to everyone here, I've made great progress in learning Matlab and...

Hey all, here's my code: %This forgram will take 4 solutions of n1 and solve them. y = 250; n0 = 1; n2 = 1.69; k2 ...

Hey all, I've got some code that's trying to solve a system of 6 equations using fsolve. It runs a loop, because the six equati...

Hey all, I've been performing some calculations with Matlab, and I've been getting unexpected results. I've been trying to calc...

Hey all, quick question: Say I have some data: a,b,c 2,3,4 5,6,7 8,9,10 And an equation: 0=((a-b)./c)-R an...

Hi, I'm a fairly new user of Matlab, and I set up a list of variable definitions like so: n0=1; n21=1.694; n22=1.7046; ...

Hi all, been a while since I needed a question answered, so here goes: I am creating a script that is used to solve a system ...

Hey all, I have a question about the data Matlab is presenting me with. When I run a program I have created, Matlab outputs t...

Hey all, I'm running a bit of code to solve for a variable in an equation. Here are the specs: theta = (2.*pi().*n1.*d...

Hey all, I've got to nearly identical programs, and one of them works while the other doesn't. When I run: data = csvread(...

Hey all, I'm trying to solve a system of 3 highly irregular nonlinear equations using Matlab, but the solutions I get are not th...

Hi, I'm having trouble altering the default number of evaluations (300) of an fsolve. My .m file looks like this (function omit...

Hi, I'm pretty new to Matlab, and I tried to execute this script: eq1 = '((((1.5-(x-(i*(y))))/(1.5+(x-(i*(y)))))+((((x-(i*y))...

Asked 4 years ago

Hey all, I've been debugging this code for a while now, but I can't for the life of my find out what's wrong with this. When...

0 Answers

Hey all, I've been working with a program that uses data from a spreadsheet, and solves an equation for each row of data. I ...

Hey all, I'm trying to pass some equations to fsolve, but I'm getting nothing but errors. I have 3 complex equations, and to...

Hey all, I've been using a closure loop with fsolve to crunch data. The below code took 3 rows of data from a .csv, and plugged...