Community Profile

# Connor

Last seen: circa 2 mesi fa Attivo dal 2023

#### Content Feed

Visto da

Domanda

How do I fix this invalide expression error?
I keep receiving this error with my code: Here is my code, Line 5 is in the "%Define the function handles" section, specifica...

circa 2 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Not sure why I am getting errors for my anonymous functions.
I have this code: k = randn(1); % random variable % define all of your variables below f = @(x) (sin(x)+4.*x)/x.^2 A = f(5) ...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

Not enough input arguments for an anonymous function.
I have this anonymous function: g = @(x,k) exp(cos(x))^k I am getting this error: Not enough input arguments. Error in so...

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

How to have a function return a coordinate point?
I am trying to get a function to return (x,y) coordinates for a given angle theta. I am struggling to figure out how to get the ...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How do I replace one value of a matrix with another value from a different matrix?
How to you swap a variable in one matrix with another variable from a different matrix without typeing in (for example) E(1,2) =...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

How do I make a column vector to add to my original matrix?
Im trying to solve this: You want to add 4 to each element in the first row of A, subtract 1 from each element in the second row...

4 mesi fa | 2 risposte | 0

### 2

risposte

Domanda

Doing arithmatic to specific rows of a matrix
I have this matrix in part a) called Mat1 and for part c) I need to do different arithmatic opertations to individual rows. How ...

4 mesi fa | 1 risposta | 0

### 1

risposta

Domanda

Invalid use of operator. error, dont know what to change to fix it.
The function I have to plug into is I keep getting the error: File: solution.m Line: 5 Column: 22 Invalid use of operator. ...

4 mesi fa | 1 risposta | 0

risposta