Community Profile # Apurbo Roy Chowdhury

Last seen: 2 månader ago Active since 2021

#### Statistics

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

View by

Question

How to get all the solution of a function?
syms x; f =@(x) 14*x.*exp(x-2) -12*exp(x-2) - 7*x.^3+ 20*x.^2 - 26*x + 12; sol = solve(f(x),x) This function has two solution...

ungefär 2 år ago | 2 answers | 0

### 2

Question

How to get only real output from (-3)^(1/3)
(-3)^(1/3) I need the ans: -1.44224957.

ungefär 2 år ago | 2 answers | 0

### 2

Solved

Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

ungefär 2 år ago

Solved

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...

ungefär 2 år ago

Solved

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

ungefär 2 år ago

Solved

Return area of square
Side of square=input=a Area=output=b

ungefär 2 år ago

Solved

Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

ungefär 2 år ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

ungefär 2 år ago

Solved

Given a and b, return the sum a+b in c.

ungefär 2 år ago

Solved

Find the hypotenuse
Given a and b (the two sides of a right-triangle), find c, the hypotenuse.

ungefär 2 år ago

Solved

Say something funny
Say something funny, or not. Your solution will be (fully automatically and objectively) scored based on how clever or funny ...

ungefär 2 år ago

Solved

Get to a number faster.
If you start with \$1 and, with each move, you can either double your money or add another \$1, what is the smallest number of mov...

ungefär 2 år ago

Problem

Get to a number faster.
If you start with \$1 and, with each move, you can either double your money or add another \$1, what is the smallest number of mov...

ungefär 2 år ago | 0 | 12 solvers

Solved

Find the nth composite number.
Everyone heard about the nth prime number. Let's try to find out the nth composite. For example , 1 is the first composite, 10 i...

ungefär 2 år ago

Solved

Pangrams!
A pangram, or holoalphabetic sentence, is a sentence using every letter of the alphabet at least once. Example: Input s ...

ungefär 2 år ago

Problem

Find the nth composite number.
Everyone heard about the nth prime number. Let's try to find out the nth composite. For example , 1 is the first composite, 10 i...

ungefär 2 år ago | 1 | 21 solvers

Solved

Prime factor digits
Consider the following number system. Calculate the prime factorization for each number n, then represent the prime factors in a...

ungefär 2 år ago

Solved

Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

ungefär 2 år ago

Solved

Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

ungefär 2 år ago

Solved

Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...

ungefär 2 år ago

Solved

Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...

ungefär 2 år ago

Solved

Tic Tac Toe FTW
Given a tic tac toe board: * 1 represents X * 0 represents empty. * -1 represents O It is X's move. If there is an imme...

ungefär 2 år ago

Solved

Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: \$99,999.99. E...

ungefär 2 år ago

Solved

Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

ungefär 2 år ago

Solved

Remove the polynomials that have positive real elements of their roots.
The characteristic equation for a dynamic system is a polynomial whose roots indicate its behavior. If any of the roots of the p...

ungefär 2 år ago

Solved

Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

ungefär 2 år ago

Solved

Counting Sequence
Given a vector x, find the "counting sequence" y. A counting sequence is formed by "counting" the entries in a given sequence...

ungefär 2 år ago

Solved

Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...

ungefär 2 år ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

ungefär 2 år ago

Solved
{"ft_lang_label":"__label__en","ft_lang_prob":0.5876899,"math_prob":0.9564593,"size":5574,"snap":"2023-40-2023-50","text_gpt3_token_len":1641,"char_repetition_ratio":0.19479354,"word_repetition_ratio":0.22157995,"special_character_ratio":0.27108002,"punctuation_ratio":0.14366883,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9879177,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"im_url_duplicate_count":[null,4,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-30T17:49:22Z\",\"WARC-Record-ID\":\"<urn:uuid:95969f66-611b-4087-9571-a2f20bd65d1f>\",\"Content-Length\":\"109385\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e21fac17-2db4-482a-9d85-e17f0a761137>\",\"WARC-Concurrent-To\":\"<urn:uuid:14b99991-a217-4f95-a613-1e4df8a2dffb>\",\"WARC-IP-Address\":\"104.68.243.15\",\"WARC-Target-URI\":\"https://se.mathworks.com/matlabcentral/profile/authors/20140872?detail=all\",\"WARC-Payload-Digest\":\"sha1:D7FPRIMNICTT4JEM2AWKI3LGXH23C43Z\",\"WARC-Block-Digest\":\"sha1:RQ5RUMMV5OZJLAPW4Y7QWQ2NSWQNWD4S\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510697.51_warc_CC-MAIN-20230930145921-20230930175921-00590.warc.gz\"}"}