photo

Tyler Bodnarik


Last seen: mehr als ein Jahr vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Output data to text file
I have this code H = 1; h = 15; l = 500; g = 9.81; n1 = 1; n2 = 2; n3 = 3; L1 = (2*l)/n1; L2 = (2*l)/n2; L3 = (2*l)/n3...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Newton's Method to Solve Equation
I trying to write a code to solve an equation using newton's method and given three inputs. So far I have syms L h T g f_L = ...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Create x and y vectors?
How can I build an x and y vector given x(1) = 1 and y (1) = 1 (first data points), dx and dy = 2, and number of rows(total numb...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Change data type of entire cell array?
I have a 1 x 2500 cell array created from a .txt file. Each cell has one long string of many individual numbers that I need. E...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Printing lines of text from cell array?
Suppose I had a simple cell array : D = {[1 2 3],[4 5 6 7 8 9],[10 11 12 13 14 15 16 17 18 19 20]} How could I print each line...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Help with syms function. Unable to find explicit solution
I'm trying to solve for a variable that is on both sides of an equation. T = 10; h = 20; g = -9.81; syms L eq = L == ...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to make a grid of dots?
I have a function to plot a circle: function circle = circleplot(x,y,r,c) th = 0:pi/50:2*pi; x_circle = r * cos(th) + x; y...

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Trouble getting function to work. Not enough inputs.
I'm trying to write a function that will output the indices of all local maxima and minima of a function. I was able to write c...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Write a function to local all local maxima and minima?
I'm having trouble using find function to output indicies of maximas and minimas in my function So far I have this: function [...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Writing Functions that take inputs?
Need help getting this function to execute. So far I have: r = input('What is the radius of the circle?') x = input('What i...

etwa 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Using get and set command to add a title, xlabel, and ylabel?
Is there a way to add a title and x and y axes labels to a figure by using only the get and set commands? Also, I need to chang...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Least squares regression to find coefficients
Not sure what to do here. I tried doing it all seperately by setting noise to 0, then to 50, then 100 and using polyfit but I g...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Given that t is in increments 0.1 and goes from 0 to 20, how can I make a variable that consists of 5t^2?
First I made x as: >> t = 0:0.1:20 I have tried numerous ways to get a variable consisting of 5t^2 and have the same result. ...

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort