Mouhamed Niasse
2020 年からアクティブ
Followers: 0 Following: 0
Engineer: EEE EME Languages: French, English Country: Senegal Interest: Power systems
統計
All
Feeds
回答済み
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...
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...
3年以上 前 | 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 {[14]} ...
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 {[14]} ...
3年以上 前 | 1
回答済み
In matlab check how many times 2 displayed in given matrix A=[14 2 4 2 6 7 8 2 4 5 9 2 3 2 45 2] hint: sum()?
sum(A==2)
In matlab check how many times 2 displayed in given matrix A=[14 2 4 2 6 7 8 2 4 5 9 2 3 2 45 2] hint: sum()?
sum(A==2)
3年以上 前 | 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, >> ...
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, >> ...
3年以上 前 | 1
| 採用済み
解決済み
Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
3年以上 前
解決済み
Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...
3年以上 前
解決済み
Sorted highest to lowest?
Return 1 if the input is sorted from highest to lowest, 0 if not. Example: 1:7 -> 0 [7 5 2] -> 1
3年以上 前
解決済み
Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12
3年以上 前
解決済み
Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...
3年以上 前
解決済み
Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...
3年以上 前
回答済み
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.
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.
3年以上 前 | 0
解決済み
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
3年以上 前
解決済み
Making change
Given an amount of currency, return a vector of this form: [100 50 20 10 5 2 1 0.5 0.25 0.1 0.05 0.01] Example: Input a = ...
3年以上 前
解決済み
Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...
3年以上 前
解決済み
Volume of this donut
Given hole diameter a, and outermost diameter b, determine the volume y of the resulting donut.
3年以上 前
回答済み
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...
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...
3年以上 前 | 0
| 採用済み
解決済み
Project Euler: Problem 4, Palindromic numbers
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...
3年以上 前
回答済み
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...
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...
3年以上 前 | 0
| 採用済み
解決済み
Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...
3年以上 前
回答済み
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...
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...
3年以上 前 | 0
解決済み
Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...
3年以上 前
解決済み
Project Euler: Problem 5, Smallest multiple
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...
3年以上 前
解決済み
Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime nu...
3年以上 前
解決済み
Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...
3年以上 前
回答済み
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,:)=[]
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,:)=[]
3年以上 前 | 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...
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...
3年以上 前 | 1
| 採用済み
回答済み
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...
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...
3年以上 前 | 0
解決済み
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
3年以上 前
回答済み
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...
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...
3年以上 前 | 2
| 採用済み
解決済み
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
3年以上 前