photo

Pedro Almeida


Last seen: plus d'un an il y a Actif depuis 2022

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


Error in plotting a function, left and right side with diferent dimensions
When I use this code: format short prod_total = zeros(1000, 1); vet_pedidos = zeros(1000, 1); x_exp = ...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


How do I create a random number generator using congruent method
I want to create a random number generator that uses a congruent method. And I need to create a histogram that should have 0.2 f...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Plot line doesn't follow function
The plot line I created doesn't follow the function, which should be an exponencial. The following code, only the final for loo...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


fzero: not a valid initial bracketing
format long y = @(x) 1 - sin(x); z = @(x) x.^2; test1 = @(x) (y(x)-z(x)); test2 = @(x) (z(x) - y(x)); ta = 0; a = 0; dado...

presque 2 ans il y a | 1 réponse | 0

0

réponse

Question


MATLAB doesn't plot my function
This is probably a dumb question but when I try to plot this function nothing appears: format long y = @(x) - sin(x); z = @(x...

presque 2 ans il y a | 2 réponses | 1

2

réponses

Question


Finding the root of a function between an interval
Probably a stupid question, but how do I find the root of test1 between the interval [0,1]? x = 0:0.1:2; y = 1 - sin(x); z = ...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How do I find the limit to an intersection of two functions?
I have this exercise to find the limit to an intersection of two functions I have no idea how to do it, some gidance would be he...

presque 2 ans il y a | 1 réponse | 0

0

réponse

Question


want for loop to stop if k < 4
This part of the program takes a file, and takes the numbers inside that file and puts it into a matrix. It only works when, in ...

presque 3 ans il y a | 2 réponses | 0

2

réponses

Question


Want to delete ans from the output ou a function
Whenever I use this function, it always spits back an ans in the command window, how do I prevent this from happening? function...

presque 3 ans il y a | 1 réponse | 0

0

réponse