Community Profile # mansour torabi

Last seen: 10 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

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Submitted

Synchronous Generator P-Q Curve
Synchronous Generator Capability Curve (P-Q Curve) using MATLAB 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... How to use Timer Callback in App Designer?
In App Designer: In Properties section, define a Variable to hold time object: properties (Access = public) MyTim...

9 months ago | 1

How to convert a data Table from .mat to .csv
In matlab, to write a table to a csv file, use: load('YourTableData.mat') writetable(YourTableData, 'FileName.csv')

9 months ago | 0

Is there a built-in way to build a GET url in Matlab from a set of parameters?
Yes, there is! To create a URI query string form structure variable (or some other types): % Define your query Data as a struc...

9 months ago | 0

Assign values to a structure using App designer
Simply just use str2double function: BC.theta_res = str2double(app.theta_resEditField_3.Value);

9 months ago | 0

How can I use Structures array the App Designer Properties?
To define a structure variable as a public Propertey in the App Designer, use struct function: properties (Access = public...

9 months ago | 0

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

10 months 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) 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.

12 months ago

Solved

create a circulant matrix
create a circulant matrix

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

12 months ago

Solved

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

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

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

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

12 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]

12 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]; ...

12 months ago

Solved

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

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

12 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]

12 months ago

Solved

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

12 months ago

Solved

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

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

12 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)

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

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

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

12 months ago