統計
All
Feeds
解決済み
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年以上 前
解決済み
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年以上 前
質問
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年以上 前 | 1 件の回答 | 0
1
回答回答済み
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...
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年以上 前 | 0
回答済み
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...
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年以上 前 | 0
回答済み
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!"...
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年以上 前 | 15
| 採用済み
解決済み
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年以上 前
解決済み
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年以上 前
回答済み
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...
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年以上 前 | 1
| 採用済み
回答済み
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...
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年以上 前 | 0
回答済み
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 ...
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年以上 前 | 1
| 採用済み
質問
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年以上 前 | 0 件の回答 | 0
0
回答質問
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年以上 前 | 1 件の回答 | 0