Community Profile # Muthu Annamalai

### MathWorks

2012 年からアクティブ

Regular Joe :)

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks, Inc.
Professional Interests: Mathematical Modeling, Communications, Photonics, Optics

#### 統計

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

First N Perfect Squares
*Description* Return the first N perfect squares *Example* input = 4; output = [ 1 4 9 16 ];

7年以上 前

How to create structure with while loop?
Hello Vy, You are looking for a event loop like this, answer = 'y' while strcmpi(answer,'y') %do something an...

7年以上 前 | 0

What code would I use for this question
The code depends on who gets the extra credit J I would recommend using a while loop like another example in page 4 of Cleve ...

7年以上 前 | 0

i am student, i want to detect the tumour that is lung cancer cells present in lungs using template matching algorithm.
Have you considered using Mathworks' <http://www.mathworks.com/products/computer-vision/features.html#object-detection-and-recog...

7年以上 前 | 1

How to insert char to table?
If you are mismatching to the number of rows in your Table. Try assigning a cell-array of strings to your Table out2, at the ...

7年以上 前 | 0

Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

7年以上 前

Make a run-length companion vector
Given a vector x, return a vector r that indicates the run length of any value in x. Each element in r shows how many times the ...

8年弱 前

Vigenere cipher - be like Sherlock Holmes!
You're a young detective. Every detective needs a function to decrypt a vigenère cipher. It's a modification of a caesar cipher....

8年弱 前

Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

8年弱 前

Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

8年弱 前

Rank of matrix
Find the rank of given matrix

8年弱 前

how can i combine 8*8 blocks into image after inserting text in each block?
You have code that almost works, pending a linear transformation; I would suggest trying the 2-step recipe, # Build the mosai...

8年弱 前 | 0

Orthogonalization of time series data
Sounds like eig maybe useful, and you may find *principal component analysis* (PCA) of interest too. See <http://www...

8年弱 前 | 0

Importing Excel Files using a Function
MATLAB is not able to find your variable *workbookFile*. You should try to add a call to *narginchk(1,3)* in your code, like ...

8年弱 前 | 0

What is the best approach in editing script files with other script files ?
@Rodriguez, and @Cedric I propose an alternative way to look at the question; it would be nice to have same script return differ...

8年弱 前 | 0

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

8年弱 前

Parasitic numbers
Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

8年弱 前

Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

8年弱 前

Side of an equilateral triangle
If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

8年弱 前

Is this triangle right-angled?
Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

8年弱 前

Area of an equilateral triangle
Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

8年弱 前

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

8年弱 前

Side of a rhombus
If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

8年弱 前

Length of a short side
Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

8年弱 前

Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

8年弱 前

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

8年弱 前

Calculate the sum of two numbers. Example input = [2 3] output = 5

8年弱 前

Count up then down
Create a function that produces counting up from 0 up to n then down to 0 n=2 --> 0 1 2 1 0 n=3 --> ...

8年弱 前

Generate N equally spaced intervals between -L and L
Given N and L, return a list of numbers (in ascending order) that divides the interval [-L L] into N equal-length segments. F...

8年弱 前

Who am I ?
Who am I ? Write any function that reveals itself under these constraints. Hint: I am combinatorial code, and I don't like stat...

8年弱 前 | 0 | 12 個のソルバー
{"ft_lang_label":"__label__en","ft_lang_prob":0.6392238,"math_prob":0.9413864,"size":5533,"snap":"2023-14-2023-23","text_gpt3_token_len":1906,"char_repetition_ratio":0.120998375,"word_repetition_ratio":0.014056225,"special_character_ratio":0.28104103,"punctuation_ratio":0.1689243,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99119467,"pos_list":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26],"im_url_duplicate_count":[null,1,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-05-30T21:46:55Z\",\"WARC-Record-ID\":\"<urn:uuid:78f28a52-37d8-4916-b4d8-8a88300d584d>\",\"Content-Length\":\"139065\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:008251d5-9ab0-4f2b-a529-58370fd07899>\",\"WARC-Concurrent-To\":\"<urn:uuid:a6673640-a0b1-43ec-a505-5eddbb767cf1>\",\"WARC-IP-Address\":\"104.86.80.92\",\"WARC-Target-URI\":\"https://jp.mathworks.com/matlabcentral/profile/authors/3366515\",\"WARC-Payload-Digest\":\"sha1:SSRDGLKJGWDSNAHKECCUUVHKFH63FJFB\",\"WARC-Block-Digest\":\"sha1:F74RF744MTYEKD7PW5OZT63UUVOLM4T6\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-23/CC-MAIN-2023-23_segments_1685224646144.69_warc_CC-MAIN-20230530194919-20230530224919-00331.warc.gz\"}"}