Community Profile

# Alexandra Brian

Active since 2016

All

#### Content Feed

View by

Solved

Given a and b, return the sum a+b in c.

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

Question

Trouble with Mean function
Hi, I wrote the following code, but it is returning NaN for the output of AvgRule1. It should be the mean of X, when A < 1. I ha...

alrededor de 5 años ago | 1 answer | 0

### 1

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 5 años ago

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 5 años ago

Question

I am trying to write data from fitlm model to excel and write a column vector of the name of variables into my excel table
Hi, Here is my code: clear all X = xlsread('example.xlsx', 1, 'A2:A857'); %get data from column in excel Y = ...

alrededor de 5 años ago | 1 answer | 0

### 1

I'm trying to select out rows with strings from a spreadsheet that agree with certain conditions.
Thank you Gim! Now I just need to figure out how to select column 1's value based on the other columns.

más de 5 años ago | 0

Question

I'm trying to select out rows with strings from a spreadsheet that agree with certain conditions.
Hi, I'm trying to write a code to select out the strings that have a 1 in the corresponding column. This is the code I wrote...

más de 5 años ago | 2 answers | 0

### 2

Question

Why doesn't my code return the correct value when I try to find the average of the values greater than 0?
Hi, I'm trying to find the average of the values that are greater than 0 and the average of values less than 0. I wrote the f...

más de 5 años ago | 1 answer | 0

### 1

Question

I want to find the average of a matrix from excel in MATLAB
Hi, I would like to find the average of the matrix found in the spreadsheet attached in MATLAB. I calculated my results manua...

más de 5 años ago | 2 answers | 0

### 2

Question

Trying to find all the average of negative numbers under certain conditions
Hi, I'm trying to find the average of numbers less than 0 in one column that correspond with positive numbers in the rows of ...

más de 5 años ago | 1 answer | 0

### 1

Question

counting the number of elements under multiple conditions
Hi there, I need to count the number of elements in column y that confirm two conditions: # When the column x is greater ...

más de 5 años ago | 1 answer | 0

### 1

Question

Trouble with a correlation analysis code
I'm writing a code to run a correlation analysis between two variables under certain conditions. I want to see if there is a c...

más de 5 años ago | 1 answer | 0

### 1

Question

Unregistering a computer and registering new computer
I got a new laptop and want to un-register my MATLAB account off of my old computer and set it to the new one. I already am usin...

más de 5 años ago | 2 answers | 0

### 2

Question

Is it possible to use 20 variables in a multi regression on MATLAB?
Is it possible to use 20 variables in a multi regression on MATLAB?

más de 5 años ago | 2 answers | 0

### 2

Question

I'm trying to run a linear regression on cases that fit certain criteria, can you help?

más de 5 años ago | 1 answer | 0