Community Profile

photo

Observer


Finisar Sweden AB

Last seen: 1 day ago Active since 2014

Statistics

All
  • First Review
  • Thankful Level 1
  • First Answer
  • Solver

View badges

Content Feed

View by

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

7 years ago | 8

Solved


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

8 years ago

Solved


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

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

8 years ago | 0 answers | 1

0

answers

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

8 years ago | 0 answers | 0

0

answers

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

9 years ago | 1 answer | 0

1

answer

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

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

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

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

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

9 years ago | 2 answers | 0

2

answers

Question


Matlab intellisense (auto completion) for objects of user defined classes in Script files (.m File)
I would like to know that is there a way for intellisense to work for user defined classes. If I create object of user defined c...

9 years ago | 1 answer | 1

1

answer