Community Profile # Narges M

Active since 2013

#### Statistics

All
• • • • #### Content Feed

View by

How do I convert an excel file to a cell array ?

alrededor de 8 años ago | 0

| accepted

Correlation coefficent for vectors (of unequal lengths).
use isnan() function to skip those rows

alrededor de 8 años ago | 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...

alrededor de 8 años ago | 0

| accepted

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

alrededor de 8 años ago

Solved

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

alrededor de 8 años ago

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

alrededor de 8 años ago | 0

| accepted

Solved

Make a Plot with Functions
Make a plot and test

alrededor de 8 años ago

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

alrededor de 8 años ago | 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); ...

alrededor de 8 años ago | 0

| accepted

alrededor de 8 años ago | 0

| accepted

fprintf function for writing data into microsoft office word.

alrededor de 8 años ago | 0

| accepted

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

alrededor de 8 años ago | 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...

alrededor de 8 años ago | 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...

alrededor de 8 años ago | 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]...

alrededor de 8 años ago | 0