photo

OLAOYE abass


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can i plot a hexagon, a triangle, a pentagon, an octagon and a circle.
What are the changes i need to make to this code to get a triangle, a pentagon, an octagon and a circle % close all the op...

ungefär 11 år ago | 2 answers | 1

2

answers

Question


how do i combine these two plots >> a = 10; >> b = 0: pi/a: 2*pi; >> plot(b,sin(b)) >> a = 10; >> b = 0: pi/a: 2*pi; plot(b,cos(b)) into one plot
how do i combine these two plots a = 10; b = 0: pi/a: 2*pi; plot(b,sin(b)), a = 10; b = 0: pi/a: 2*pi; plot(b,...

ungefär 11 år ago | 1 answer | 0

1

answer

Question


How can i use th linspace function to to create a vector ‘v’ containing all positive even numbers less than 21. i.e. [2 4 6 8……..]
...How can i use th linspace function to to create a vector ‘v’ containing all positive even numbers less than 21. i.e. [2 4 6 8...

ungefär 11 år ago | 2 answers | 0

2

answers

Question


(a) The linspace(...) function can be used to create and assign values to a 1D array (vector). Use this function to create a vector ‘v’ containing all positive even numbers less than 21. i.e. [2 4 6 8……..]
I really need help with these questions (a) The linspace(...) function can be used to create and assign values to a 1D array ...

ungefär 11 år ago | 0 answers | 0

0

answers

Question


The following three lines could be used to create a plot of the Sine function: >> a = 3; >> b = 0: pi/a: 2*pi; >> plot(b,sin(b))
Kinda new to matlab, nd i want to know how can smoothen this sine function and how i can make its cosine fuction

ungefär 11 år ago | 1 answer | 0

1

answer

Question


(a) Create a 4x4 matrix A containing all zeros (using an appropriate built-in Matlab function). (b) Create a 5x5 matrix B containing random numbers (using an appropriate built-in Matlab function). (c) Create a 1x10 array C and use this vector to cr
I'm kinda new to matlab so i need help with these questions.. (a) Create a 4x4 matrix A containing all zeros (using an ap...

ungefär 11 år ago | 1 answer | 0

1

answer