Community Profile

# Alexandra Brian

Aktiv seit 2016

#### Statistics

All

Abzeichen anzeigen

#### Content Feed

Anzeigen nach

Gelöst

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

mehr als 5 Jahre vor

Gelöst

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

mehr als 5 Jahre vor

Frage

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

mehr als 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

Gelöst

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

mehr als 5 Jahre vor

Gelöst

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

mehr als 5 Jahre vor

Frage

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

mehr als 5 Jahre vor | 1 Antwort | 0

### 1

Antwort

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

fast 6 Jahre vor | 0

Frage

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

fast 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

fast 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

fast 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

fast 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

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

etwa 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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?

etwa 6 Jahre vor | 2 Antworten | 0

### 2

Antworten

Frage

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

etwa 6 Jahre vor | 1 Antwort | 0

### 1

Antwort

Frage

How can I write multiple sets of data from MATLAB to one sheet in excel?
I'm running a linear regression test in MATLAB from data I have in excel. A = xlsread('excel_report.xlsx', sheet, 'ColumnA...

mehr als 6 Jahre vor | 1 Antwort | 0

Antwort