Community Profile # lowcalorie

Actif depuis 2012

#### Statistiques

• #### Content Feed

Afficher par

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

presque 11 ans il y a | 4 réponses | 0

### 4

réponses

Question

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

Question

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

Question

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

Question

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 3 réponses | 0

### 3

réponses

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

plus de 11 ans il y a | 3 réponses | 0

### 3

réponses

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 3 réponses | 0

### 3

réponses

A répondu
plotting data
yes but it is not working

plus de 11 ans il y a | 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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

Question

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 1 réponse | 0

### 0

réponse

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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

plus de 11 ans il y a | 2 réponses | 0

### 2

réponses

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*

plus de 11 ans il y a | 2 réponses | 1

### 2

réponses

Question

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 1 réponse | 0

### 1

réponse

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

plus de 11 ans il y a | 1 réponse | 1

### 1

réponse

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

presque 12 ans il y a | 2 réponses | 0

### 2

réponses

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

presque 12 ans il y a | 1 réponse | 0

### 1

réponse

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

presque 12 ans il y a | 1 réponse | 0

### 1

réponse

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

presque 12 ans il y a | 1 réponse | 0

réponse