Community Profile # Mouhamed Niasse

Active since 2020

Engineer: EEE EME Languages: French, English Country: Senegal Interest: Power systems

#### Statistics

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

View by

modeling and simulating electric vehicle charging in power system load flow analysis
Hello, You can find inspiration from this model. You can open the model's V2G system in another tab and see how it's been imple...

2 years ago | 0

How do I convert a 3x1 cell to a 1x3
Hello, In case it's a cell array, just transpose it. For example: >> A={14; 2; 4} A = 3×1 cell array {} ...

2 years ago | 0

Can somebody tell me what this notation means?
Hello, You're adding 'k' to the value initially stored at the location row 'lm' column 'lm' in the matrix K. For example, >> ...

2 years ago | 1

| accepted

Can anyone explain me please some of "Wind Turbine Block" parameters ???
Hello, Click on the button 'help' displayed at the bottom of your screenshot. Everything is clearly explained there.

2 years ago | 0

How to get quotient value after division without round off?
Hello, I tried to execute your portion of code but, just as expected, n1 has the value 78 not 79 for me. Try using the functio...

2 years ago | 0

| accepted

Electromotive Force Voltage Example
Hello, From the second line of your code, you need to know first what is the physical meaning of each paramaters ('v', 'B', 'le...

2 years ago | 0

| accepted

PV array and grid for battery charging
Hello, You cannot just randomly connect your batteries' (+) to the AC side, the (-) to the DC side of the grid and expect to ha...

2 years ago | 0

Removing a row from a matrix when one value is zero without hardcoding
Hello, Here is what i achieved. Hope it does help you. BoeingStock(BoeingStock(:,4)==0,:)=[]

2 years ago | 0

How the calculate laplace x(t) = (exp^-at)*u(t) matlab?
Hello, Here is what i achieved. You'll need to re-define your constant "a" and your function u(t). Hope it helps you understan...

2 years ago | 1

| accepted

Can someone explain this Code?
Hello, Here is what i achieved to help you understand your algorithm. You can run the code and track how variables evolve throu...

2 years ago | 0

Matrix B from column of matrix A with condition
Hello, Here is what i achieved. Hope you can easily understand it. A=randi(5,5) % Just for an example, A is a 5x5 array of ran...

2 years ago | 1

| accepted

Eliminate rows from an array
Hello, this is what you tried to achieve: data3(1+length(data3)/2:length(data3),:)=[]; Try to run below example. Hope it helps...

2 years ago | 1

Calculations in the cell array
Hello, Here is what i achieved based on my understanding of your question. Hope it does help. test={1; 2; 3; 4; 5} test=num2...

2 years ago | 0

How to add x & y value in the odd and even columns in cell matrix

2 years ago | 1

| accepted

How do I specify time increment in computation in for loop?
Hello, I just tried to plot your equation epsilon(t) for time range 0-5s assuming constant value for t0, and arrays Ei and tau_...

2 years ago | 0

I want to plot this equation P(t)=P(0)*e^rt.
xlim1=0; xlim2=10; r=1; P0=1; % I supposed you will define r and P(0) as constants, and the limits xlim1 % and xlim2 are kn...

2 years ago | 0

how to evaluate?
Hello, The question is not very clear. What do you need to evaluate? Please make your input(s) and outpout(s) explicitly define...

2 years ago | 0

How do I properly code a Taylor Series for tan(x)?
try this order=4; value=pi/4; syms T1(x) T1(x) = taylor(tan(x), x, 'Order', order) vpa(T1(value))

2 years ago | 0

Concatenation array with different dimensions
try this temp=zeros(86,5); for i=1:5 k=max(size(dv1{1,i})); for ii=1:k temp(ii,i)=dv1{1,i}(ii); ...

2 years ago | 0

| accepted

Store 2 inputs in 2 arrays
data=[]; totalX=0; totalY=0; numberOfCoordinates=input('Please input the number of coordinates:'); data=zeros(1,number...

2 years ago | 0

How can i find the optimal switching sequence using a cost function.
Hello You reported an optimization problem if i'm right (Minimizing a cost function). The main idea is to implement an algori...

2 years ago | 0

1-D Lookup table
Hello. From what i understand, your problem is how to insert in real-time the temperature output signal as parameter value for a...

2 years ago | 0

simulink support package for Arduino-Installation from folder
Hello ! It might be compulsory for the package to match the version of Matlab. However, i still suggest you first try to instal...

2 years ago | 0