Community Profile

photo

Samy Ben Thabet


Attivo dal 2018

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


How can I fit a line to values and plot it on the same plot as those values?
I have 70 different temperatures that I need to plot over the course of 70 years. I was able to do that but I also have to fit a...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Plotting matrices that don't have the same size
I am trying to plot two matrices it doesn't work. matrix_1 is a 181x1 matrix with different values, I am trying to plot these ...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How can i take specific values from a matrix and put them into another matrix?
I have a 2170x2 matrix: the first column is filled with my values and the second one goes from 1 to 12 over and over again (1 to...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


Help with adding a column with numbers that are repeated to a matrix
Hi, I have a 2170x1 matrix I need to create a new 2170x2 matric where I add numbers going from 1 to 12 in the second column a...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


I have a problem with the nested function.
I need to write a function which gives the area of a triangle and in it a subfunction that calculates the distance between each ...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to use a variable only defined in a function in your script?
Hi, I created a function that takes the user's values for the angle and I want to use those values in my script but when I tr...

oltre 5 anni fa | 3 risposte | 0

3

risposte

Domanda


How to plot a triangle with the user's measurments?
Hey I am trying to plot a triangle with the user's measurements but I can't figure it out. Here is what I tried but it doesn't w...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to plot a shape away from the x and y axis?
Hi, I want to plot shapes but I don't want them to be on the axis (I don't want to remove the axis though). Here is my pro...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


Problem with a function.
I am trying to insert a function into my program but every time it tells me "error in perimeter line 3, p=4*s". Here is part of ...

oltre 5 anni fa | 1 risposta | 0

1

risposta

Domanda


How to change my unit to SI?
Hi I am writing a program that calculates the area of a given shape, here is an example for a square. The problem is that when I...

oltre 5 anni fa | 2 risposte | 0

2

risposte

Domanda


Need help inputing words
I want to ask my user to input a shape: h=input('What shape do you want?:'); if h==square; disp(h) But this never...

oltre 5 anni fa | 2 risposte | 0

2

risposte