photo

Jose Grimaldo


Last seen: mehr als 4 Jahre vor Aktiv seit 2019

Followers: 0   Following: 0

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

mehr als 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 4 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

fast 5 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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.

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 5 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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.

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Time table code using while loops

etwa 5 Jahre vor | 2 Antworten | 3

2

Antworten

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 5 Jahre vor | 1 Antwort | 0

1

Antwort

Mehr laden