Community Profile

photo

Anna


Active since 2013

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Error bars are all the same size?
Here is my code: x = [8,9,10,12,14,16,18,20,25,30,40,50]; y = [10.7,8.9,7.3,5.5,4.3,3.4,2.7,2.3,1.6,1.1,0.7,0.5]; x =...

10 years ago | 1 answer | 1

1

answer

Question


image() function is overwriting old image?
I have a code that goes as follows: image(uint8(original)) <commands to manipulate image> image(new) The problem h...

10 years ago | 2 answers | 0

2

answers

Question


Draw a binary image
I want to draw an image of vertical stripes using the pattern 11001100111000. If 1 represents a black bar and 0 represents a wh...

10 years ago | 3 answers | 0

3

answers

Question


Accessing data in cell array
I have a cell array that looks something like 0 a 01 1 b 11 2 c 101 3 d 1100 The data insid...

10 years ago | 0 answers | 0

0

answers

Question


Greyscale an image via replacing pixels
I have an image that I want to greyscale. It contains only blue and white pixels and I want to use a method whereby I identify t...

10 years ago | 1 answer | 0

1

answer

Question


Store results of for loop in 1D array?
I have a variable called 'age' which comes as a result of a while loop. The number for 'age' changes every time so I want to use...

10 years ago | 1 answer | 0

1

answer

Question


Plotting graph in matlab
Say I want to plot y = e^(0.5*x)*(sin(x)). How do I enter this using the plot function? I am trying to plot 3 graphs on the s...

10 years ago | 2 answers | 0

2

answers

Question


How to store results of for loop in 1D array.
So i want to to store 10,000 values resulting from a for loop in a 1D array. How do I do that? My file reads: goal = 100...

10 years ago | 2 answers | 0

2

answers

Question


Matlab won't run script file.
Matlab was working fine until today. I tried to run a script file and matlab won't even attempt to run it. I know its not tha...

10 years ago | 1 answer | 0

1

answer

Question


Scientific notation to decimal?
I currently have a number that I want in decimal form not scientific form. I have Savings made in dollars: 1.041...

10 years ago | 3 answers | 2

3

answers

Question


Functions: ans at end...where it is coming from?
In entering the following function: function [ft,in] = MetricToImperial(m) % Input: m = measurement in metres % O...

10 years ago | 2 answers | 0

2

answers

Question


Not enough input arguments
Hi all, I am very new to matlab and programming in general. I am having difficulty with functions. Trying to grip the bas...

10 years ago | 2 answers | 0

2

answers