photo

Giuseppe


2014년부터 활동

Followers: 0   Following: 0

메시지

통계

MATLAB Answers

34 질문
0 답변

순위
3,652
of 300,756

평판
15

참여
34 질문
0 답변

답변 채택
88.24%

획득한 표
15

순위
 of 21,077

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 170,890

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 4

배지 보기

Feeds

보기 기준

질문


For to While Loop
Hi I have been told you can convert any for loop to a while loop. If so I don't see how you could convert the following to a whi...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


The function isreal not working?
function [calc_valid, EM] = input_check(N,t,S,EV) inputs = [N,t,S,EV]; %The inputs are placed in a vector. calc_vali...

11년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Checking variables are valid for a set of conditions.
The aim of this sub function is to determine if the inputs of a parent function are valid. The goal is that EM is a string displ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


check if two variables are not equal to zero.
I have the vector e.g A=10 B=4 C=0 D=4 V = [A,B,C,D] How would I check if more than two values equal zer...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Check if a number of varibles in a function satifies a condition.
Say for example I had the function function [d,e] = examplefunction(a,b,c,d,e) end I would like to check if the...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Function does not calculate desired variable.
Hi I have the following function; function [EV,N,t,S] = EVjc300293(EV,N,t,S) % If a variable is set to zero calculate it...

11년 초과 전 | 답변 수: 2 | 0

2

답변

질문


randi size inputs not scalar issue?
I have an issue when I want a variable length I decided to give two inputs max_length and min_length. I then chose the length in...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Chose a random integer between an upper and lower limit.
I ask the user to input two limits a upper and lower limit. I then want to generate a random integer between these two values. ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Using randi instead of floor and rand.
This is my password generator. % Password Generator % 1. Input Parameters uppercase = 'A':'Z'; lowercase = 'a':'...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Help with graph legend.
This is my attempt at displaying this in the legend of the graph. legend('y=',num2str(c(1)),'x^2+',num2str(c(2)),'x+',num2s...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


multiple inputs for a function
this is my function function ispal=palindrome(forward_string) reverse_string = forward_string(end:-1:1); ispa...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Compare letters in a string.
say i have the string hello for eaxample. I want to compare if the first element in this string equalls the last, if the second ...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to select a one random letter from a matrix of letters.
I have the array. move = [R ,P, S] How would I select a random letter from this array. cmove = ? Would it look...

11년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Check if a palindrome.
I have the script: %1. Clear the memory and command window. clear clc %2. Input a string. string = ...

11년 초과 전 | 답변 수: 2 | 1

2

답변

질문


For loop not working for my equation.
This is my for loop. for gra=m && yint=c x = (gra-c)./ (m-2) y = m.*x+c end Although I cant g...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Finding if a line intersects another.
I have the simultaneous solution of line 1 and line 2 for instance. This is a point where hey intersect. Say line one was betwee...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Solving linear equations simultaneoulsy.
I have a vector of m and a vector of c values for a set of linear expressions. I have a value for m and c for a single expressio...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Finding varible in equation from vectors.
I have x = [1 2 3] y = [1 2 1] m = [1 -1 0] For the equation y = mx +c (linear expression) I want to find c (y int...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Determine if a polygon is complex.
I want to determine if a polygon is complex not using inbuilt functions. This is my rough idea. for edge = 1:n ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Circshift not working for values of zero.
I have; x = [0 0 3 3] I want this to become x = [0 3 3 0] When I circshift x_2 = circshift(x,2) it equ...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Creating two vectors from one.
Hi I have a vector; x = [2 4;3 -8; 1 2; 2 4;] I need to produce two vectors like the ones to the left and right below. To...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Counting how many times a loop loops.
This is my code I want the user to enter a number they beleive the loop will run for until the running sum of integers is 21. ...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Finding the area of a polygon.
Hi I have a set of x and y coordinates which form the corners of a polygon. I need to calculate area manually using the shoelace...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


The circshift function not working.
I have this code using the idea from this post <http://www.mathworks.com/matlabcentral/answers/122826-vector-manipulation-by-cha...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Vector manipulation by changing order or numbers in a vector.
I have the vector a = [4 5 7 8 9 10] I would like to make a new vector with the second element first and the first eleme...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


How do I check if any elements are not a number in a matrix.
I want to check that the matrix I have contains any non numbers in it. I guess I would use the any() function? I just don't know...

거의 12년 전 | 답변 수: 1 | 0

1

답변

질문


Checking if a matrix is right dimensions.
I have this code for a user to enter coordinates. This creates then the matrix y and x. n=10; % number of lines a= input...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Get a user to input corordinates to form a matrix.
Hi I have the matrix; points = [2 5; 6 9; 7 8; 9 10; 6 10] I want to make it that the user inputs the points and a subse...

거의 12년 전 | 답변 수: 2 | 0

2

답변

질문


Calculating the distance between points using vectorization.
Hi I have the matrix; points = [2 5; 6 9; 7 8; 9 10; 6 10] These points relate to a set of x and y coordinates. I want t...

거의 12년 전 | 답변 수: 3 | 0

3

답변

질문


How would I open multiple figures from one script.
Hi I have 3 scripts which all produce a figure. They are all graphs. How would i put them all on one script and have all plots d...

거의 12년 전 | 답변 수: 2 | 14

2

답변

더 보기