Community Profile

photo

lowcalorie


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


ommiting blanks in a string
how would i write a code to print each line of the string array G omitting any trailing blanks and blanks in-between letters

ungefär 11 år ago | 4 answers | 0

4

answers

Question


how do i get the color gray
how do i get the color gray on my graph

nästan 12 år ago | 2 answers | 0

2

answers

Question


drawing a circle
please help i need to draw a green circle of radius 0.8 centered at x =2 , y=1.5 and display the result with the correct aspect ...

nästan 12 år ago | 2 answers | 0

2

answers

Question


ommiting blanks in code
how do i write a code sequence omitting any trailing and leading blanks

nästan 12 år ago | 1 answer | 0

1

answer

Question


ASCII file
i need a code sequence to save variable to a single ASCII file named mydata.asc

nästan 12 år ago | 1 answer | 0

1

answer

Question


blanks
how would i write a code to print each line of the string array G omitting any trailing blanks?

nästan 12 år ago | 1 answer | 0

1

answer

Question


matrix
A is an m x n array and B is an r x s array. how do i write an expression to multiply A and B and place the result in array C

nästan 12 år ago | 3 answers | 0

3

answers

Question


why is my plot not showing anything
clc k = 8.9870e+009; q1 = .000000024820; q2 = .000005200901; for r = [.10,.15,.20,.25,.30,.40]; f = (k*q1*q...

nästan 12 år ago | 3 answers | 0

3

answers

Question


plotting two different graphs
im using plot to graph one curve but now i need to plot a second curve on a different graph so how can i open 2 graphs from one ...

nästan 12 år ago | 2 answers | 0

2

answers

Question


vector
i have a vector X = [.00000;.00001;.00002;.00003;.00004;.00005;.00006;.00007;.00008;.00009;]; i need to do X/(X-1) value...

nästan 12 år ago | 1 answer | 0

1

answer

Question


linear regression
i have a table of data X = 1,2,3,4,5,6,7,8,9 Y= 4 5 6 9 8 7 4 1 2 how can i plot these points without having a line th...

nästan 12 år ago | 3 answers | 0

3

answers

Answered
plotting data
yes but it is not working

nästan 12 år ago | 0

Question


plotting data
i have a table of data X = 1,2,3,4,5,6,7,8,9 Y= 4 5 6 9 8 7 4 1 2 how can i plot this data on a graph

nästan 12 år ago | 2 answers | 0

2

answers

Question


create best fit line
if i have a bunch of random numbers how do i create a best fit line for my data

nästan 12 år ago | 2 answers | 0

2

answers

Question


how to delete NaN from a column of data
I have a column of numbers that i called in from excel but some of my data comes up as NaN, which is fine but i need to do calcu...

nästan 12 år ago | 2 answers | 0

2

answers

Question


how to call a column of data from excel into matlab
I need to take the mean median and mode from a column of data in excel first i tried using fopen filename but i keep getting ...

nästan 12 år ago | 1 answer | 0

1

answer

Question


Help with 10.11 from A Engineers Guide to Matlab 3rd edition
If somebody has the book and is willing to help i would appreciate it im not sure what to do for r(t) and d(t) also do not know ...

nästan 12 år ago | 0 answers | 0

0

answers

Question


using quadl to find area between 2 curves
i need to find the area between the 2 curves using quadl and trapz i was able to do it using just trapz but im not sure how to i...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


format y axis on a graph
here is my code i need to format the y axis to go from 0 to 1 with increments of 0.1 im not sure how to go about doing this ...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


adding data to a text file
i have a file called hello.txt using wordpad which contains the matrix 2 7 3 2 6 9 now i have a vector v = [1 2 3] and ...

ungefär 12 år ago | 2 answers | 0

2

answers

Question


appending a file
i have a file called hello.txt using wordpad which contains the matrix 2 7 3 2 6 9 now i have a vector v = [1 2 3] and ...

ungefär 12 år ago | 2 answers | 0

2

answers

Question


overwrite a text file with other data
Ok so here is what im stuck on. I have a text file called testdata.txt from wordpad. this file contains the data: 2 4 9 5...

ungefär 12 år ago | 2 answers | 0

2

answers

Question


how to take the average of a matrix of any size
How do I compute the mean of all the values in a matrix of *any size*

ungefär 12 år ago | 2 answers | 1

2

answers

Question


overwrite and append files
how do i overwrite or append files in matlab what functions should i be using?

ungefär 12 år ago | 1 answer | 0

1

answer

Question


file management
I need to ask the user to enter the input file name. Make them repeat until an existing file is found. please help Im not s...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


display an input sentence to the user on multiple lines
coeff = input('Please enter the coefficients for the polynomial of the form ax^2 + bx + c = 0. Input all three values in this fo...

ungefär 12 år ago | 1 answer | 1

1

answer

Question


adding 2 polynomials having lots of trouble
y(x) = p_1*(x^n)+p_2*(x^(n-1))+...+p_n*x+p_n+1 z(x) = s_1*(x^m)+s_2*(x^(m-1))+...+s_m*x+s_m+1 i need to add the coeffici...

ungefär 12 år ago | 2 answers | 0

2

answers

Question


putting all my outputs into a vector using print
here is my code: n = 0; x = input('input an x value ') while n~=7 n = n+1; if rem(x,2)==0 fx...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


add an integer x to certain values of a vector
for example i have the number 8, and i have a vector[ 1 2 3 4 5] i need to add 8 to the elements 1-4 of the vector to get the...

ungefär 12 år ago | 1 answer | 0

1

answer

Question


show same text on 2 lines without getting an error
i am in the middle of writing a script and it is very long and i wanted to put some of it on a second line but when i press ente...

ungefär 12 år ago | 1 answer | 0

1

answer

Load more