Community Profile

photo

Jose Grimaldo


Last seen: presque 4 ans il y a Actif depuis 2019

Statistiques

  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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.

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 2 réponses | 0

2

réponses

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

presque 4 ans il y a | 2 réponses | 0

2

réponses

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

presque 4 ans il y a | 3 réponses | 0

3

réponses

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

presque 4 ans il y a | 1 réponse | 0

0

réponse

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

presque 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 2 réponses | 0

2

réponses

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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.

environ 4 ans il y a | 1 réponse | 0

0

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 1 réponse | 0

1

réponse

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.

environ 4 ans il y a | 1 réponse | 0

1

réponse

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

environ 4 ans il y a | 2 réponses | 0

2

réponses

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.

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Time table code using while loops

plus de 4 ans il y a | 2 réponses | 3

2

réponses

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

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

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Charger plus