Anirban Ghosh
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 ...
대략 1년 전
문제를 풀었습니다
Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...
대략 1년 전
문제를 풀었습니다
Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...
대략 1년 전
답변 있음
Converting coder::array<unsigned char, 3U> to unsigned char
Hi Abhijith, Please refer to this documentation page for information on using the coder:array template: Use Dynamically Allocat...
Converting coder::array<unsigned char, 3U> to unsigned char
Hi Abhijith, Please refer to this documentation page for information on using the coder:array template: Use Dynamically Allocat...
1년 초과 전 | 2
문제를 풀었습니다
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
거의 2년 전
문제를 풀었습니다
Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...
거의 2년 전
문제를 풀었습니다
Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...
대략 2년 전
문제를 풀었습니다
Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...
2년 초과 전
문제를 풀었습니다
Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...
2년 초과 전
문제를 풀었습니다
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:...
2년 초과 전
질문
MATLAB Coder: How do I build an Android Studio project for image classification that uses generated code?
I am trying to generate C++ code that targets the ARM Compute library for a deep learning image classification network (such as ...
대략 3년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
대략 6년 전