Community Profile

photo

loukas


Last seen: quasi 2 anni fa Attivo dal 2022

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


Get n numbers from a list
I know there is a function nchoosek, however is there any way to do this without using this particular command since we aren't a...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


Given a list of numbers, how do you take specific numbers at time?
I want to create a function file that extracts n number/s at a time from a given list of numbers. For example the given list i...

circa 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get the sum of the rows of a matrix?
I am very new to Matlab and I just want make a function file that inputs a 3x3 matrix and gets the sum of each rows. I don't kno...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to show the roots of a polynomial in complex numbers?
function root(a, b, c) if nargin==1,c=a(3);b=a(2);a=a(1);end x1 = (-b+sqrt(b.^2-4*a*c))/(2*a); x2 = (-b-sqrt(b.^2-4*a*c))/(2*...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to make a function file that displays a polynomial and accepts a specific command?
function lou(a,b,c) fprintf('%dx^2 + %dx + %d =0 \n',a,b,c) end this is my code right now. how do i modify my code to make ...

circa 2 anni fa | 2 risposte | 0

2

risposte

Domanda


How to plot the functions x=cos(t) and y=sin(t) in a single graph?
I tried to do plot them but I wasn't confident since one of the functions is with respect to the x axis. t=linspace(0,2*pi); ...

circa 2 anni fa | 1 risposta | 0

1

risposta