Community Profile # Pavithra Ashok Kumar

Last seen: 7ヶ月 前 2016 以来アクティブ

#### Statistics

All
• • • バッジを表示

#### Content Feed

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

Is my wife right?
Regardless of input, output the string 'yes'.

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

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

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

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

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

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

How can I view the source of a webpage using webread
Hi From your description, I am assuming you are trying to create a web crawler. In that case, you would have to use "webread"...

How to put toolbar using app designer?
Hi For now, the uifigure does not support uimenus. The list of components that are supported can be found <http://in.mathwork...

Getting Values from c++ programm as simulink input

Getting a propeller to produce lift

Cell/table Reformat
Hi The "readtable" treats the entries in the first line of the file as variable names. So updating the first line of your .da...

| 採用済み

Statistics from a writetable
Hi I am assuming you are trying to use statistics(for eg. mean) for variable size arrays. Try using the "end" to denote the end...

How to translate these functions into a Matlab rungekutta or ode45
Hi, You can use the ode45 method with syntax as shown below: ode45(F_xy, [t_i t_f], y(1)) Ensure that you are substituti...

6年以上 前 | 0

How do I exclude data knowing the rownumbers?
As per my understanding, l = array of indices that needs to be preserved and A is the complete matrix. If you have the list of ...

6年以上 前 | 0

How to find dependent column vectors of a matrix for a given column vector?
One of the ways to find this would be to do an element-wise ratio and check if the multiple is constant. The same can also be...

6年以上 前 | 0

Passing a structure of parameters into and S-function in MATLAB
I understand that you want to pass all the parameters as a struct using S-Functions. You can do this by using a "Bus" in the Sim...

6年以上 前 | 0

What Matlab version support Java 8 (class file version per the JVM Specification)?
I understand you want to use Java 8 with MATLAB. However, MATLAB R2015b was also shipped with Java 1.7( Refer the compiler requi...

6年以上 前 | 0

How can I get the nodes/vertices traversed from graphallshortestpaths function?
I understand that you want to get the shortest path to be traversed between two nodes. However, as the doc suggests, "graphallsh...

6年以上 前 | 1

| 採用済み

I have a set of (x,y) coordinates that I need to mark on a given image in a given color. Can someone help me in doing this. Thanks in advance.
I understand you want to add points to an existing image . You can do it in two ways. 1. Using MarkerInserter object from Com...

6年以上 前 | 1

Solving an algebraic loop with state port
I understand that you want to remove the algebraic loops in your model. THis can be removed either in many ways. Some of them ar...

6年以上 前 | 0

How to fill an area that is half NaN half variable in the figure?
Assuming the gaps are not filled when the values are NaN, the lines are not plotted and it is not a closed polygon anymore. Henc...

6年以上 前 | 0

Using simulink to call c++ code via an s-function
The issue may occur because of a mismatch in code settings. The library and associated header file should be included in both t...

6年以上 前 | 0

what is exactly the Scale values in the SURF point class in computer vision? When I used SURF feature plot function with 'ShowScale' enabled, it plot some circles, but radii of those circles do not match scale values in the SURF points.
The SURF scale is represented by the detection scale of the box filters used for keypoint detection and not the radii of the for...

6年以上 前 | 1

Two point Crossover in Genetic Algorithm
Hi, If you are looking for a built-in function to implement a 2-point crossover, set the "CrossOverFcn" parameter to be @crosso...

6年以上 前 | 0