Community Profile # Observer

### Finisar Sweden AB

Last seen: 4 months ago Active since 2014

#### Statistics

All
• • • • #### Content Feed

View by

How can I sort an array of structures based upon a particular field in MATLAB?
function outStructArray = SortArrayofStruct( structArray, fieldName ) %UNTITLED2 Summary of this function goes here ...

5 years ago | 7

Solved

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

6 years ago

Solved

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

6 years ago

Question

is there a way to make available a matlab package to all functions available in same .m file
I am working with matlab packages and I want to make a package available to all methods in same .m file. I am trying to import t...

6 years ago | 0 answers | 1

### 0

Question

How to create a keyboard shortcut for inserting time stamp in command history of matlab
I want to create a key board shortcut for inserting time stamp in command history. I follow the standard procedure for creating ...

6 years ago | 0 answers | 0

### 0

Question

Re-plotting of data on same GUI axes in matlab
I am working with GUI in matlab and I have one axes to plot the data. I want to keep track what I have already plotted in order ...

6 years ago | 1 answer | 0

### 1

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

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

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

7 years ago

Solved

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

7 years ago

Question

C# array of object indexing in matlab
In matlab, I have array of c# objects and I want to select the object on index position 1. doc.Workbook.Worksheets ans = ...

7 years ago | 2 answers | 0