photo

Jose Grimaldo


Last seen: meer dan 4 jaar ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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.

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 2 answers | 0

2

answers

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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)?

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 2 answers | 0

2

answers

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

meer dan 4 jaar ago | 3 answers | 0

3

answers

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

meer dan 4 jaar ago | 0 answers | 0

0

answers

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 4 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 2 answers | 0

2

answers

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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

bijna 5 jaar ago | 0 answers | 0

0

answers

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')

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 1 answer | 0

1

answer

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.

bijna 5 jaar ago | 1 answer | 0

1

answer

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

bijna 5 jaar ago | 2 answers | 0

2

answers

Question


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

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


Time table code using while loops

ongeveer 5 jaar ago | 2 answers | 3

2

answers

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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

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

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Load more