Community Profile

photo

Lorenne


Last seen: etwa 4 Jahre vor Aktiv seit 2018

Followers: 0   Following: 0

Statistiken

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


the last output given using for loop
May i know why the following for loop produces e(end) of only n=5 and not from n=1? e = linspace(-pi,pi,5); >> d=1; >> ...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


using find function and logical array
If i have a matrix Z=[1 0 1;0 1 0;1 0 1]; >> find(Z==1) ans = 1 3 5 7 9 >> find(Z(Z==1)...

fast 6 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


Difference between mod and rem functions
May i know why is mod(4,-3) ans = -2 >> rem(4,-3) ans = 1 these two answers different?

fast 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Number of times an element appears
If i have a vector prize = [3;5;1;2;1] and the year =[2007;2018;2011;2011;2018] How do I find the number of times each year ap...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to check the accuracy of estimation
Using the approximated volume i have 0.51666667 and the true volume is 0.52359878 , the error is 0. *00* 693211 so it will be ac...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Calculating accuracy of decimal places and print out the values
How to find the accuracy of decimal places between the integral approximation and the MATLAB built-in integral function? Eg: if ...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Determining the total value of the number in each position of a matrix that corresponds to another same length matrix
Let's say i have a column vector medals = [1;1;5;7;3;1] and i have another column vector year = [2007;2009;2011;2018;2007;200...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Plotting circles horizontally through entire range of x values on a constant y value
How do i plot circles for the entire range of the x values for a constant y value instead of a horizontal line through the range...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Categorising the star into different types
Let's say i have a column vector string, name=['K';'K';'G';'A';'B'] and i have a matrix , type='ABGK' I have another matrix i...

fast 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to categorise a column vector
May i know how to categorise a given column vector into different types of vector? eg: given X=[A;A;G;K;M] and have to categori...

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Use loops to produce the beautyofmath shown.The script should iterate from 1 to 11 to produces expression on the left, and perform specified operation to get the results shown on the right.
1x8+1=9 12x8+2=98 123x8+3=987 1234x8+4=9876 12345x8+5=98765 123456x8+6=987654 1234567x8+7=9876543 1234567...

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


how do i write a program that calculate side length c using pythagoras' theorem(a2+b2=c2) assuming a and b to be integer values starting from 1, and print out the pythagorean results that satisfy a>=1,b>=1 and c<=10.
<</matlabcentral/answers/uploaded_files/113639/Screen%20Shot%202018-04-18%20at%208.02.55%20PM.png>> how do i write a program ...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to remove the word 'Pythogorean results are' for the second line onwards?
<</matlabcentral/answers/uploaded_files/112399/Screen%20Shot%202018-04-10%20at%2011.26.52%20AM.png>>

etwa 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


There's an error using input function in my computer , how do I solve it?
clear all; close all; clc; name=input('Enter your name:','s') surname=input('Enter your surname:','s') loca...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten