photo

John


University of Southern California

2011년부터 활동

Followers: 0   Following: 0

메시지

통계학

All
  • First Review
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
How to delete the row from cell array?
You can index out the rows like any standard array (the following code removes the second row): x = {1 2 3; 4 5 6; 7 8 9} ...

11년 초과 전 | 2

답변 있음
Loading a excel file in which I want to take only B, D not C , how can it be done?
The best way to do this is call xlsread() once (read in all the data) and index the data you need: data = xlsread('t...

11년 초과 전 | 1

| 수락됨

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

문제를 풀었습니다


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

12년 초과 전

답변 있음
Executing two callbacks concurrently
I don't particularly care for this solution but it is one quick way to get at what you're trying to do (I think), hope it helps!...

12년 초과 전 | 0

답변 있음
Help removing columns from csv file
If you want to load in the data and pull out the third and fourth columns (just as an example) I'd do the following: [num txt...

거의 13년 전 | 0

| 수락됨

답변 있음
How do I generate n cubes to define a sphere?
To create the cubes and visualize them I would start with something like the following: <http://www.mathworks.com/matlabcentr...

거의 13년 전 | 1

| 수락됨

답변 있음
writing 1*5 char in one cell in excel
Perhaps the following would work: xlswrite('test.xls', cellstr(x)) Where "x" is a character array

대략 13년 전 | 1

답변 있음
MATLAB runtime
i would look at the help for 'waitbar' if you want some kind of indication of where the program is. in addition if you are using...

13년 초과 전 | 1

답변 있음
How do I get system idle time in MATLAB?
Found this perl script that works, simply call perl('last-input.pl') in matlab use Win32::OLE; use Win32::API; ...

13년 초과 전 | 0

| 수락됨

질문


How do I get system idle time in MATLAB?
How do I go about getting the system idle time in MATLAB, I've searched around and cant find anything. Im using Windows XP x64. ...

13년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
connecting mysql database to matlab
Perhaps you need something like this: <http://www.mathworks.com/products/database/ MATLAB Database Toolbox>

거의 14년 전 | 1

| 수락됨

답변 있음
Creating M-file using Excel/Visual Basic
Do you have to use visual basic? In MATLAB you can use xlsread to load in the excel file and then save the loaded data into .mat...

거의 14년 전 | 1

| 수락됨

답변 있음
Determining whether a point on earth (given latitude and longitude) is on land or ocean
Perhaps something like this could help: <http://www.mathworks.com/products/matlab/demos.html?file=/products/demos/shipping/ma...

거의 14년 전 | 0