![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/8569425_1522127342929_DEF.jpg)
Khalid Tewfik
Followers: 0 Following: 0
Statistiques
10 Questions
0 Réponses
RANG
271 730
of 292 713
RÉPUTATION
0
CONTRIBUTIONS
10 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
0
RANG
of 19 933
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 147 881
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
I have a simple question how do I save the outputs of my script to a vector
for t = -5:.2:50 if (t > 0) && (t <= 10) vel = 11*t^2 - 5*t; elseif (t >= 10) && (t <= 20) vel = 1100...
plus de 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Simple question how do I adjust the for loop to go through the rows of the excel matrix one by one. Milesdriven adds the columns 2:11 of the first row, i want the calculation to be done for the next 54 rows as well.
filename = 'project3data.xlsx'; num = xlsread('project3data.xlsx'); for i = 1:55 milesdriven = sum(num(2,2:11)) e...
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
how do I get i to loop through the 55 columns of the excel file one by one. I want i to correspond to the values of the 55 columns to calculate miles driven
filename = 'project3data.xlsx'; num = xlsread('project3data.xlsx'); for i = 1:55 milesdriven = sum(nu...
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
Best way to write this function in matlab while using eps in the denominator to avoid zero
Here's what I had z = (xx.*yy.*(xx.^2-yy.^2))/(eps(xx.^2+yy.^2)); but I kept getting a rank deficient error
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
I have an excel file with 5 columns X1/X2/X3/X4/X5 how to I plot 4 plots (X1,X2;X1,X3;X1;X4;X1;X5) on the same figure using the subplot command.
Do I use xlsread
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
How do I write a function called mystaff that takes one matrix input argument S, S is a n-by-m matrix from an excel file I have saved. Also the function doesn't return anything
Here's what I have filename = 'Salaries.xlsx'; FR = xlsread('Salaries.xlsx');
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
Write a function called mystaff that takes one input matrix called S. S is an n-by-m matrix whose elements are salaries. Salaries.xlsx Doesn't return a value How do I use my function to find average salary of principe: principle >= 140000.
Here's what I have so far filename = 'Salaries.xlsx'; S = xlsread('Salaries.xlsx') function mystaff(S) if nargin~=1 ...
plus de 7 ans il y a | 1 réponse | 0
1
réponseQuestion
Write a function with one input integer argument that returns an output matrix(MQ) which is a 2n by 2n matrix. MQ consist of 4 n-by-n submatrices top left are all ones top right corner are all 2's bottom left are 3's and bottom right are 4's
function [MQ] = myquadrants(n) I don't know how to set up the matrix
presque 8 ans il y a | 1 réponse | 0
1
réponseQuestion
I'm writing a function where I've called the script AngleA and the function written below works fine to find AngleA but when I write a similar code for AngleB it says that AngleB isn't defined how do I define the variable or fix the error?
function [A] = AngleA(a,b,c) AngleA = acosd((b^2 + c^2 - a^2)/(2*b*c)) function [B] = AngleB(a,b,c) AngleB = acosd((a^2 + c...
presque 8 ans il y a | 1 réponse | 0
1
réponseQuestion
How do I write the following functions on Matlab x(t) = 2tcos(pi*t) , y(t) = 2sin(pi*t)
I keep getting error using * and other errors
presque 8 ans il y a | 3 réponses | 0