aborghes

Active since 2017

Followers: 0   Following: 0

I am Interning in the Engineering Development Group, and working with the performance team, and have a background in Computer Engineering.

All

Feeds

View by

Solved

How to subtract?
* Imagine you need to subtract one number from another using MATLAB. * You will not be using eval for this task. * Given two A...

7 years ago

Folks, please let me know how to complete the sum of products in the "for loop" as shown below in order to get the correct answer. Thank you. HDaniel
Hi Hani, A few tips first: * When incrementing by one, you can simply do i=0:2, the increment value is only necessary if i...

7 years ago | 0

| accepted

Find files with a specific prefix
Hi Ramiro, I would recommend using the startsWith function. It should do what you are looking for.

7 years ago | 0

| accepted

I am trying to make the answers from the for loop I am writing into a matrix, but every time I use the methods on this website matlab has an error.
Hi Gabrielle, I am assuming the value you want saved is c? if that is the case, you can just change c=dot(m,rheadb) to...

7 years ago | 0

| accepted

Hi Ranjith, Try typing "which class" into the command window. It should return Built-In and the path to the built-in class.m ...

7 years ago | 1

| accepted

Is it possible to connect points on a scatter plot with arrows instead of a line?
Hi Vince, I would recommend using the quiver() function. The doc for it is located here: https://mathworks.com/help/releases/R20...

7 years ago | 0

Solved

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

7 years ago

Solved

Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

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

7 years ago

Count values in an array if the sum of the values exceeds a certain number
probably not the most elegant, but this seems to work: x = [.55, .4, .05, .5, .9] num = 0 val = .9 for y=1:length(...

7 years ago | 0

save for loop resutls
does changing newwidt=ab(:,:) to newwidt(:)=ab(:,:) do what you are looking for? This saves each value in an array of doubles.

7 years ago | 1

| accepted

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

7 years ago