Community Profile

# Jose Grimaldo

##### Last seen: 6 meses ago
35 total contributions since 2019

View details...

Contributions in
View by

Question

How to find a matrix inside a larger matrix?
Im trying to find a smaller matrix inside a larger matrix using explicit loops. I know there is functions and probably easier t...

6 meses ago | 1 answer | 0

### 1

Question

Setting certain edges of a graph a different color
Can someone show me (if possible) to change a certain edge(s) of a graph to color white like the example graph below.

7 meses ago | 1 answer | 0

### 1

Question

Using fminbnd to find the max value.
How can I find the max value between 0.5 - 5 using fminbnd? m=.09 b=2.7 Eq1=@(x) b.*(x.^m) % I try this but I get an error...

7 meses ago | 1 answer | 0

### 1

Question

Finding intersection point between two functions
How do can I find the intersection point between anonymous function L and L2 and plot the intersection point? A=[0 2.5 3.8 ...

7 meses ago | 1 answer | 0

### 1

Question

Fzero using for loop
I have an anonymous function, im trying to find each fzero value as variable x in the anonymous function (AC) goes from 0:1:10, ...

7 meses ago | 2 answers | 0

### 2

Question

Getting a warning when I fplot
Im getting the correct graph and everything is running correctly, but I keep getting this warning after I fplot. How can I fix i...

7 meses ago | 1 answer | 0

### 1

Question

Convert string to txt
I have a 4x1 string array, how can i write it and save it as a txt file? Not sure if i did it correctly. A=(4x1) string array ...

7 meses ago | 1 answer | 0

### 1

Question

Finding decimal values without mod
Is it possible or is there any way to find a value in an array that is a decimal without using mod(or any other function)?

7 meses ago | 1 answer | 0

### 1

Question

How to seperate an array into two?
Im trying to seperate an array into two even variables using for loops. How can i do that? I know that i can just do V1=V(1:2:e...

7 meses ago | 2 answers | 0

### 2

Question

Finding odd and even values without functions
Is it possible to identify if a value is even or odd using for loops instead of using a function (Ex. mod)? If possible, can som...

7 meses ago | 3 answers | 0

### 3

Question

Move string values to different variables
I have a string array 6x1 and I want to move the odds index string to variable v1 and the even index string to v2. I want to do ...

7 meses ago | 0 answers | 0

### 0

Question

How to check for repeated values in a matrix?
I have a 3x3 matrix and i want to check if any values repeat, and if any values do not repeat then i have to check if the values...

7 meses ago | 1 answer | 0

### 1

Question

The Fibonacci Sequence and Golden Ratio.
Im having trouble calculating the Golden Ratios until the desired accuracy is reached % Code Fibonacci Sequence F=[1 1 2 3 ...

7 meses ago | 1 answer | 0

### 1

Question

Calculating values using for loops
I want to perform the following calculations using for loops. The user enters the inputs the value and the index is set. I want...

8 meses ago | 1 answer | 0

### 1

Question

How to scale a graph
My graph is the at the bottom one (second graph), but it supposed to look like the one above it (first graph). The values (...

8 meses ago | 2 answers | 0

### 2

Question

Calculations using for loops
I want to perform the following calculations using for loops. I have assigned values to variables A and B. I want to calculate V...

8 meses ago | 1 answer | 0

### 1

Question

How can i asked the user a set of questions without a menu? They are "Yes" or "No" answers.

8 meses ago | 0 answers | 0

### 0

Question

output the ohms symbol
How can i output the ohms symbol using fprintf? fprintf('The resistance for the given color bands is 26000 ohms')

9 meses ago | 1 answer | 0

### 1

Question

Comparing and locating string values
I have a x=1x10 string of colors and the user enters a a=1x3 string of colors. Im trying to get the index of the location in the...

9 meses ago | 1 answer | 0

### 1

Question

Locating entered vector values
I have a vector x=(0:1:9) and the user has to input a vector (single integers). How can i locate the values the user input in th...

9 meses ago | 1 answer | 0

### 1

Question

Checking values in a vector
Im trying to check a vector, that after the third integer the rest of the values should be equal to zero. If there is value that...

9 meses ago | 1 answer | 0

### 1

Question

How to add a column between two columns?
I have a matrix 3x3 and a column vector 3x1. I'm trying to add the column vector between the second and third column of the 3x3 ...

9 meses ago | 1 answer | 0

### 1

Question

How do i get decimal values using randi?
Im supposed to create a 3x4 matrix with random decimal value from -10 to 20. Im not sure how to get decimal values.

9 meses ago | 1 answer | 0

### 1

Question

I need to create a 1x6 string combining strings?
I'm having trouble creating a 1x6 string setting X="I Love Pizza Not Vegatibles" using the variables L,I,J and also adding s...

9 meses ago | 2 answers | 0

### 2

Question

Im having trouble adding strings together and adding space in between so V=" I Dislike Eggs". I'm using R2019b program.

9 meses ago | 1 answer | 0

### 1

Question

Need help using the for loop
Test case Check if AdjustMinValue(4, [2, 12, 9, 20], 10) returns [4, 12, 18, 20]

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Time table code using while loops

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Using nested loop to check for whole numbers inside a matrix
Im trying to find any values that are not whole numbers inside a 3x3 matrix, but i have to used nested loops This my code x=[1...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

Locate any decimal value inside a matrix?
Im trying to find any values that are not whole numbers inside a 3x3 matrix x=[1 2.5 4;5 3 3.2;4 9 2] I want to use the for ...

alrededor de 1 año ago | 1 answer | 0

### 1

Question

How to locate a decimal in a matrix?
How would i locate a decimal value inside a square matrix? For example x=[1 2.5 3;5 7 1;2 6 4.2] Would i used functions ...

alrededor de 1 año ago | 1 answer | 0