Community Profile

# mansour torabi

Last seen: 5 months 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

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

1 year ago | 2

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

1 year ago | 1

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

1 year ago | 0

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

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

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

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

1 year ago

Solved

create a circulant matrix
create a circulant matrix

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

1 year ago

Solved

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

1 year ago

Solved

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

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

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

1 year 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]

1 year 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]; ...

1 year ago

Solved

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

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

1 year 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]

1 year ago

Solved

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

1 year ago

Solved

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

1 year 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; ...

1 year 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)

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

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

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

1 year ago