Community Profile

# Samy Ben Thabet

2018년부터 활동

배지 보기

#### Content Feed

보기 기준

질문

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...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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 ...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

5년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

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...

5년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

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 ...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

5년 초과 전 | 답변 수: 3 | 0

### 3

답변

질문

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...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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 ...

5년 초과 전 | 답변 수: 1 | 0

### 1

답변

질문

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...

5년 초과 전 | 답변 수: 2 | 0

### 2

답변

질문

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...

5년 초과 전 | 답변 수: 2 | 0

답변