Community Profile

# mansour torabi

Last seen: 3 days ago Active since 2021

Started my studying in Mechanical Engineering (BSc) and Mechatronics (MSc).
But always had a passion for Programming
I write codes professionally in MATLAB, C#, C/C++, Python

Programming Languages:
Python, C++, C, C#, MATLAB, SQL, HTML, CSS, Arduino, Visual Basic
Spoken Languages:
English

All

#### Content Feed

View by

Solved

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

3 days ago

Submitted

Matlab Dynamic Programming
Dynamic Programming has been implemented in MATLAB using two illustrative example

Submitted

MATLAB Hammersley Sampling for Design of Experiments DOE
Hammersley Sampling method For Design of Experiments (DOE) has been implemented in MATLAB

Submitted

MATLAB Truss Finite Element Analysis
2D Truss Analyzer toolbox can analyze any 2D trusses using Finite Element Method (FEM)

Submitted

Matlab Euler-Lagrange Library
Using this library one can derive differential equations for any dynamic systems and solve response of the system for a given co...

Solved

Distance walked 2D
Suppose you go from x-y coordinates [3,4] to [0,0] to [0,1] to [1,1], then you walked 7 units of distance.

2 months ago

Solved

create a circulant matrix
create a circulant matrix

2 months ago

Solved

Calories in a slice of pizza?
The total calories C in a pizza is printed on its box. You know the angle A (degrees) of the slice you placed on your plate. Ple...

2 months ago

Solved

CARDS PROBLEM
Read my mind and tell me the card number that I have now in my hands.

2 months ago

Solved

Vector LCM
* Find Least Common Multiple of a given vector. * Need general solution as the test suite will be expanded. * Function Templa...

2 months ago

Solved

Reverse CHECKBOX MATRIX with 69
Create a reverse checkbox matrix with '69'. Where the size is the input and output will be a square checkbox matrix. Exa...

2 months ago

Solved

UICBioE240 2.7
Given two 3-element vectors x1 and x2, create a 3 x 3 x 3 matrix Y where (:,:,1) has all values of x1 * x2, (:,:,2) has all valu...

2 months ago

Solved

UICBioE240 problem 1.7
Find the other two angles of a right triangle given the two of the sides. So if A = [1 1] B = [45 45]

2 months ago

Solved

UICBioE240 problem 1.9
Swap the first and last columns of a matrix. So if A = [12 4 7; 5 1 4]; B = [7 4 12; 4 1 5]; ...

2 months ago

Solved

UICBioE240 problem 1.15
Calculate: sin(pi/6) cos (pi) tan(pi/2)

2 months ago

Solved

UICBioE240 problem 1.1
Remove the middle row from a matrix, assuming # of rows is odd. So if A = [ 1 2 3; 4 5 6; 7 8 9] the...

2 months ago

Solved

UICBioE240 problem 1.2
Convert a column vector into a row vector. So if A = [1; 2; 3] Then B = [ 1 2 3]

2 months ago

Solved

UICBioE240 problem 1.3
Find the length of a vector. So if A = [1 1 1 1 1] Then B = 5

2 months ago

Solved

UICBioE240 problem 1.4
So if A = [ 1 2 3; 4 5 6; 7 8 9] B = [ 3 3]

2 months ago

Solved

UICBioE240 problem 1.5
Find the size of the matrix, then multiply both values by 10 and make it into a column vector. So if A = [ 1 2 3; ...

2 months ago

Solved

UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

2 months ago

Solved

UICBioE240 problem 1.8
Given a list of grades in a class, write a script that gives the 2nd highest grade in the class and the average for the class. ...

2 months ago

Solved

UICBioE240 problem 1.10
Find the number of cells in a bioreactor after a given time when doubling time is dd and initial number of cells is x. So if ...

2 months ago

Solved

UICBioE240 problem 1.12
The mathematical quantities e^x, ln x, and log x are calculated in Matlab using the expressions exp(x), log(x), and log10(x), re...

2 months ago

Solved

UICBioE240 problem 1.14
Solve 3^x = 17

2 months ago

Solved

UICBioE240 problem 1.16
sin^2(pi/6) + cos^2(pi/6)

2 months ago

Solved

UICBioE240 2.1
This will be useful later in the course, in conjunction to clc and clear all, what is the command to close all figure windows th...

2 months ago

Solved

UICBioE240 2.3
Make a 4D matrix of 4x4x3x4 containing all zeros.

2 months ago

Solved

UICBioE240 2.8
Convert x number of hours into seconds.

2 months ago

Solved

Least common multiple of many numbers
1:6 -> 60

2 months ago