Feeds
문제를 풀었습니다
Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...
11일 전
문제를 풀었습니다
Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...
11일 전
문제를 풀었습니다
De-dupe
Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...
11일 전
문제를 풀었습니다
Neural Nets: Activation functions
Return values of selected Activation function type for value,vector, and matrices. y=Activation(x,id); where id is 1:4 for ReLU...
11일 전
문제를 풀었습니다
Approximation of Pi
Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given number of...
11일 전
문제를 풀었습니다
Given a square and a circle, please decide whether the square covers more area.
You know the side of a square and the diameter of a circle, please decide whether the square covers more area.
11일 전
문제를 풀었습니다
Pi Estimate 1
Estimate Pi as described in the following link: <http://www.people.virginia.edu/~teh1m/cody/Pi_estimation1.pdf>
11일 전
문제를 풀었습니다
Calculate area of sector
A=function(r,seta) r is radius of sector, seta is angle of sector, and A is its area. Area of sector A is defined as 0.5*(r^2...
11일 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...
11일 전
문제를 풀었습니다
Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...
11일 전
문제를 풀었습니다
Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
12일 전
문제를 풀었습니다
Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?
12일 전
문제를 풀었습니다
Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?
12일 전
문제를 풀었습니다
Calculate the Distance to Source of Lightning
Lightning discharge heats air rapidly with lightning channels reaching temperatures of up to 50,000 degrees Fahrenheit (which is...
12일 전
문제를 풀었습니다
Calculate days until Christmas
Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next ...
12일 전
문제를 풀었습니다
Extract diagonal of sparse quadratic form
Consider the matrix A and vector v given by, A=round(sprand(5e3,1e4,1/1e4*100)*100); v=randi(10,width(A),1); Write a rout...
23일 전
문제를 풀었습니다
Implement the signum function
The signum function is a common mathematical function, which has the following definition : If x => 0, its value is 1, if x < 0...
5개월 전
질문
How to Generate Smooth Transitional Trapezoidal Signal in Simulink
Hi, everyone. I want to generate a custom signal demonstrated as follow image in Simulink, I have tried the Signal Editor Block,...
6개월 전 | 답변 수: 1 | 0
1
답변질문
Changing the Topic Name in DDS Dictionary have no effect in AutoGenerated XML file
Hello, everyone. I want to create the DDS Application with DDS Blockset. I have changed the Topic Name in DDS dictionary which...
7개월 전 | 답변 수: 1 | 0
1
답변질문
How to configure ip address/port with DDS Blockset
I have build the DDS application shapesdemo.exe with DDS Blockset. I have test the communication between shapesdemo.exe with Op...
7개월 전 | 답변 수: 0 | 0
0
답변질문
FastDDS ShapesDemo Can not Communicate with DDS Blockset ShapesDemo
I followed the steps illustrated in DDS Blockset ShapeExample.mlx file and have build the shapesdemo.exe successfully. I first s...
8개월 전 | 답변 수: 2 | 0