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