統計
All
Feeds
回答済み
How do I convert an excel file to a cell array ?
<http://www.mathworks.nl/help/matlab/ref/xlsread.html#bthf_dr>
How do I convert an excel file to a cell array ?
<http://www.mathworks.nl/help/matlab/ref/xlsread.html#bthf_dr>
11年以上 前 | 0
| 採用済み
回答済み
Correlation coefficent for vectors (of unequal lengths).
use isnan() function to skip those rows
Correlation coefficent for vectors (of unequal lengths).
use isnan() function to skip those rows
11年以上 前 | 1
回答済み
Reading data from a text file
use this example: cfg = fopen('myfile.txt'); line = fgetl(cfg); %this line reads the first line, you can discard it rig...
Reading data from a text file
use this example: cfg = fopen('myfile.txt'); line = fgetl(cfg); %this line reads the first line, you can discard it rig...
11年以上 前 | 0
| 採用済み
解決済み
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:...
11年以上 前
解決済み
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 ...
11年以上 前
回答済み
exporting from matlab to excel
use this example: A = {1;2;3;4}; B = [9;8;7;6]; C = {5;6;7;8}; D = [5;4;3;2]; for i='A':'D' eval(s...
exporting from matlab to excel
use this example: A = {1;2;3;4}; B = [9;8;7;6]; C = {5;6;7;8}; D = [5;4;3;2]; for i='A':'D' eval(s...
11年以上 前 | 0
| 採用済み
回答済み
help with analysis of equations
Try this: if true fplot('x^2-5*x*sin(3*x)+3',[0,10]); disp('positive roots of the equation are') hold on;...
help with analysis of equations
Try this: if true fplot('x^2-5*x*sin(3*x)+3',[0,10]); disp('positive roots of the equation are') hold on;...
11年以上 前 | 0
回答済み
Use the same color multiple times in a plotting loop
You could use a colormap such as HSV to generate a set of colors. For example: folder=dir('*.csv'); N = length(folder); ...
Use the same color multiple times in a plotting loop
You could use a colormap such as HSV to generate a set of colors. For example: folder=dir('*.csv'); N = length(folder); ...
11年以上 前 | 0
| 採用済み
回答済み
please help with this function
your function is this: function [th rad]=cartopolar25(x,y) th = atan(y/x); rad = sqrt(x^2+y^2); if x<0 ...
please help with this function
your function is this: function [th rad]=cartopolar25(x,y) th = atan(y/x); rad = sqrt(x^2+y^2); if x<0 ...
11年以上 前 | 0
| 採用済み
回答済み
fprintf function for writing data into microsoft office word.
you could try this: <http://www.mathworks.com/matlabcentral/newsreader/view_thread/293381> or you could write your data in Mi...
fprintf function for writing data into microsoft office word.
you could try this: <http://www.mathworks.com/matlabcentral/newsreader/view_thread/293381> or you could write your data in Mi...
11年以上 前 | 0
| 採用済み
回答済み
plotting as it is x- axis for first column and y axis for two part one y for second column and above that third column y value? (mean one y and then above that other value for clear visualization in plot)
you cannot have two y axis in a single figure. you could have subplots, each with one x axis and one y axis. in each subplot ...
plotting as it is x- axis for first column and y axis for two part one y for second column and above that third column y value? (mean one y and then above that other value for clear visualization in plot)
you cannot have two y axis in a single figure. you could have subplots, each with one x axis and one y axis. in each subplot ...
11年以上 前 | 0
回答済み
plotting as it is x- axis for first column and y axis for two part one y for second column and above that third column y value? (mean one y and then above that other value for clear visualization in plot)
do you mean this? your question is not very clear. figure; hold on; a = subplot(2,1,1); plot(y1,x); b = subplot(2,1,2...
plotting as it is x- axis for first column and y axis for two part one y for second column and above that third column y value? (mean one y and then above that other value for clear visualization in plot)
do you mean this? your question is not very clear. figure; hold on; a = subplot(2,1,1); plot(y1,x); b = subplot(2,1,2...
11年以上 前 | 0
回答済み
a problem with a function
Yes, your function is designed to work with one value, and see if that's less than zero or not. So if you want to use it for a...
a problem with a function
Yes, your function is designed to work with one value, and see if that's less than zero or not. So if you want to use it for a...
11年以上 前 | 0
回答済み
how to convert the format of images from '.jpg' to '.tif' format. Images are stored in a folder
filenames = ls([path '*.jpg']); for i=1:size(filenames ,1) this = strtrim(filenames (i,:)); temp = imread([path this]...
how to convert the format of images from '.jpg' to '.tif' format. Images are stored in a folder
filenames = ls([path '*.jpg']); for i=1:size(filenames ,1) this = strtrim(filenames (i,:)); temp = imread([path this]...
11年以上 前 | 0
回答済み
Betweenness Centrality for a vertices in an adjacency matrix
varargin: <http://www.mathworks.nl/help/matlab/ref/varargin.html> BGL: <http://www.mathworks.com/matlabcentral/fileexchange/1...
Betweenness Centrality for a vertices in an adjacency matrix
varargin: <http://www.mathworks.nl/help/matlab/ref/varargin.html> BGL: <http://www.mathworks.com/matlabcentral/fileexchange/1...
11年以上 前 | 0
回答済み
i have array like this a = 50 60 70 80 and want to make each entity comma seperated i.e 50,70,80,90 how i can do this?
A= [20,30,40,50]'; comma = ones(size(A))* ','; B = [num2str(A) char(comma)];
i have array like this a = 50 60 70 80 and want to make each entity comma seperated i.e 50,70,80,90 how i can do this?
A= [20,30,40,50]'; comma = ones(size(A))* ','; B = [num2str(A) char(comma)];
11年以上 前 | 1
| 採用済み