Community Profile

photo

Tim


The Mitre Corporation

Active since 2015

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

View badges

Feeds

View by

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

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

8 years ago

Question


Ingesting fractional second timestamps
Hello, I am using the activex interface to excel to draw timestamp data from a file. The column I am drawing in is formatted ...

9 years ago | 1 answer | 0

1

answer

Answered
How can i import both text and numeric data via Data import
fid = fopen('file.csv','r'); C = textscan(fid, repmat('%s',1,10), 'delimiter',';', 'CollectOutput',true); C = C{1}; f...

9 years ago | 0

Answered
Using a loop to get a script to repeat
Change "function SIA" to accept an input and return the integration. then call it from another script like so: b=1:.01:what...

9 years ago | 0

Answered
for loop for different set of values
A more polite way to ask in the event of urgency would be something like: "I really need help on this one, time is a factor!"...

9 years ago | 15

| accepted

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

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

Answered
How do you set a default reference for structure fields.
There's this one from the file exchange that does what you want: <http://www.mathworks.com/matlabcentral/fileexchange/31532-p...

9 years ago | 1

| accepted

Answered
Manipulating Matrix elements based on their index without using a for loop.
Try this. clear all; %We want to inscribe a circle of diameter n on an nxn matrix A. %More generally we want an ind...

9 years ago | 0

Answered
How do I plot a third variable as line color???
I think this should work for you: Z=1:1:100; %Colormap is defined as a 3 column matrix, each row being an RGB triplet ...

9 years ago | 1

| accepted

Question


Instantiate guide figure in a parogrammatically designed GUI
Hello, Due to the lack of tab support in guide (R2014a) I have been making my GUI programmatically, however to save time I wo...

9 years ago | 0 answers | 0

0

answers

Question


Most efficient method for extracting subsets of Excel data
Hello, I have been trying to find a more efficient way of retrieving individual numeric data rows/columns/cells from an excel do...

9 years ago | 1 answer | 0

1

answer