Community Profile

photo

Mahmoud Ashraf


Last seen: 3 días hace Con actividad desde 2020

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:
Simscape, Statistics and Machine Learning Toolbox, Robotics and Autonomous Systems, Power and Energy Systems, Electronics

Estadísticas

All
  • Personal Best Downloads Level 2
  • 3 Month Streak
  • Knowledgeable Level 2
  • GitHub Submissions Level 3
  • First Submission
  • Promoter
  • Solver
  • First Answer
  • Explorer

Ver insignias

Content Feed

Ver por

Respondida
Calculating angle between 2 vectors
xx = rand (1,16); yy = rand (1,16); zz = rand (1,16); A = [xx yy zz]; % First Vector pp = rand (1,16); qq = rand (1,16); r...

casi 2 años hace | 0

Respondida
Plotting excel data in MATLAB
first what is the extension of the excel file .xlsx , .csv and so on to load the data form excel each extension has its load f...

casi 2 años hace | 0

Respondida
Signal syntax and plotting
first you must understand the equation you need to solve, then know how to write it with the right syntax and finally plot the r...

casi 2 años hace | 0

| aceptada

Respondida
Which is the x, y and z component of total force?
you should label the inputs of the scope and change the scope display settings to make three separated graphs

casi 2 años hace | 0

Respondida
How to plot points on a graph using for loop?
sa=0; elevation=525; A1=30000; minutes=135; x=elevation:2000:A1; for i=1:length(x) ar(i)=sa+x(i); end FS=12; %axes(hand...

casi 2 años hace | 0

Respondida
getting an error in this code
you should define funstion of finitrepmf as shown in this code clc clear %shipcostpmf.m sx = (1:8); px = [0.15*ones(4,1...

casi 2 años hace | 1

| aceptada

Respondida
How can I represent this equation on MATLAB
if i read the equation corrently this code with product the value of y in vector clear all; clc for n=-2:3 y(1,n+3)...

casi 2 años hace | 0

| aceptada

Respondida
How to calculate price weighted function?
avg=rand(1,505); sum=0; for j=1:505 sum=sum+avg(1,j); end for m=1:505 pweight(1,m)=avg(1,j)/sum; end

casi 2 años hace | 0

Enviada


Regenerative-Brakes
Regenerative Brakes based on PMSM

casi 2 años hace | 68 descargas |

Thumbnail

Respondida
How do I put all the Outputs from the iterations of a For Loop into a Row Vector?
A = [1 2 3 4; 8 7 6 5; 9 10 11 12] numrows = height(A) for x = 1:numrows B = max(A(x,:)) c(1,x)=B ...

casi 2 años hace | 1

Respondida
Operator errors in old matlab code
MATLAB doesn't have that syntax. the syntax shoud be x=x*1 not x*=1

alrededor de 2 años hace | 0

Respondida
How i can call matrix c(a) and c(b) as in photo
syms a b c a=zeros(a1,a2); b=ones(b1,b2); A=size(a); B=size(b); c=[a,b]; A2=c(1:a1,1:a2) B2=c( 1: b1, a2+1 : a1+b2 ) if ...

alrededor de 2 años hace | 0

| aceptada

Respondida
How can I insert one column signal to simulink?
load 'data.mat'

alrededor de 2 años hace | 0

Respondida
Graph from 0º to 360º
l think you need to change the limit of axes you can do it by axis([0 800 -360 360])

alrededor de 2 años hace | 0

Respondida
Names of these Blocks
1.Assignment / selector 2.abs

alrededor de 2 años hace | 0

Respondida
How can i create a circuit breaker or controllable switch in simulink
https://www.mathworks.com/help/physmod/sps/ref/circuitbreaker.html?searchHighlight=Circuit%20Breaker&s_tid=srchtitle_Circuit%20B...

alrededor de 2 años hace | 0

Respondida
comparing the minutes values of two tables
try this all(condition1)&&all(condition2)

alrededor de 2 años hace | 0

Respondida
Getting and calculating value from matrix
Yy_new=[new_m(:,1) Yy]

alrededor de 2 años hace | 0

Enviada


Linear Regression
Linear Regression one of the supervised machine learning apps. this simple example for the expected profit based on the populati...

alrededor de 2 años hace | 2 descargas |

Enviada


PMSM Wind Turbine
mini wind turbine based on three phase Permanent magnet synchronous generator

alrededor de 2 años hace | 18 descargas |

Thumbnail

Respondida
How to read this file in MATLAB?
load 'test.txt' readtable('test.xls')

alrededor de 2 años hace | 0

Respondida
why simscap matlab ?
simscape has its physical components block with require the signal pass thought the connection in the both directions, in anothe...

alrededor de 2 años hace | 0

Respondida
Simulink simulation with Simscape
PS-simulink converter (block) connect the physical components to simulink Simulink-PS converter (block) connect the Simulink b...

alrededor de 2 años hace | 0

Enviada


Multivariables-Linear-Regression
linear regression script which can deals with one variable or multivariate linear regression

alrededor de 2 años hace | 2 descargas |

Respondida
streak in a character array
cArr = 'aaaaBBc'; streak=0; maxStreak=0; if ischar(cArr) == 1 && isempty(cArr) == 0 for i = 2:length(cArr) if c...

alrededor de 2 años hace | 0

Respondida
How to read and select data from Excel
t=readtable('Excel file name','Range','size');

alrededor de 2 años hace | 0

| aceptada

Respondida
How can I have two y-labels on one y axis showing both mm and degrees
use plotyy

alrededor de 2 años hace | 0

Respondida
how to see Invisible cursor in the Editor window?
this can help you https://www.mathworks.com/matlabcentral/answers/166011-matlab-r-2014b-mac-os-10-10-mouse-cursor-disappears-in...

alrededor de 2 años hace | 0

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 2 años hace

Pregunta


simscape multibody links installation warning
>> install_addon('smlink.r2018a.win64.zip') Installing smlink... Extracting archive smlink.r2018a.win64.zip to D:\program file...

más de 3 años hace | 0 respuestas | 0

0

respuestas