Ahmad Hasnain
Followers: 0 Following: 0
Statistiques
RANG
18 261
of 295 486
RÉPUTATION
2
CONTRIBUTIONS
16 Questions
2 Réponses
ACCEPTATION DE VOS RÉPONSES
81.25%
VOTES REÇUS
2
RANG
of 20 236
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 153 950
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
Modifying a matrix such that each entry can be written in a block of four
Hi, I have a matrix, say A = [1 2 3 4]; I want to modify it in such a way that it can be written as A = [1 1 2 2 ...
environ 3 ans il y a | 2 réponses | 1
2
réponsesQuestion
How to find x and y coordinates in a black and white image?
I have a black and white image. I want to find the coordinates of the outline of the black blob. I want these coordinates so tha...
plus de 4 ans il y a | 1 réponse | 0
1
réponseQuestion
How to save indices of a certain region of a matrix
I have a matrix, let's say A A = [1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 15 16]; I have another matrix, let's say B B = A(3:end,...
plus de 4 ans il y a | 2 réponses | 0
2
réponsesQuestion
Reading data from cell array
I have a cell array that contains all the data. A{1,1}, A{2,1},...A{37,1}. Now, I want to extract the first row from A{1,1}, A{...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Reading data from csv files
I have 37 csv files. I need to read data from first row of all the 37 files and merge these 37 rows into one mat file. Then I w...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Merging multiple csv files into one mat file
I have multiple csv files (37 files). Every csv file has a column and it want to merge it into one mat file so that I get a mat ...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Creating a Sparse Matrix
I have a big matrix B and I get it by concatenating the small matrices. B = [A1 M1 M2 Z1 M1' M2' Z2 A2]; But w...
plus de 5 ans il y a | 1 réponse | 0
0
réponseQuestion
I want to change value of a variable after every 10 iterations
I am doing 100 iterations. I have a variable gamma that multiplies with a vector a. I want to update the value of gamma after ev...
presque 6 ans il y a | 1 réponse | 1
1
réponseQuestion
How to half the value of a constant inside an iteration?
I have an iteration loop. Inside the loop, I have a constant gamma. I want its starting value to be 10e-8. I want to half its va...
presque 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Putting column vector in a matrix
for i = 1:N for row = 1 : n for col = 1:m grad(row,col)= .... %%%% I get a n x m matrix %%%% ...
presque 6 ans il y a | 1 réponse | 0
1
réponseQuestion
How to add columns to form a matrix?
I am calculating a column vector in a FOR loop. I get N columns and I want to put them in a matrix. for i = 1: N dc(i) = ....
presque 6 ans il y a | 3 réponses | 0
3
réponsesHow to multiply arrays in struct file with a variable?
Thanks. The answer was very helpful.
environ 6 ans il y a | 0
Question
How to multiply arrays in struct file with a variable?
I have four variables that are known to me, i.e. 'high', 'low' and 'a' and 'b'. I have a mat file, which contains a lot of array...
environ 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to compare a number with values of a vector?
I have a vector. For example A = [20 40 60 80 100 120] I have a number as an input in a function function imp(omega...
environ 6 ans il y a | 1 réponse | 0
1
réponseHow to compare a number with all the values of a vector?
Thanks
environ 6 ans il y a | 0
Question
How to compare a number with all the values of a vector?
*I have the following function: * function Z = imp (alpha) *% alpha is a scalar* A = [10 20 30 40 50 60 70] ...
environ 6 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to create array with unequal spacing?
I want to create an array with unequal spacing. I have h = 1 1/2 1/4 1/8 ..... 2^-60. Every second entry in this array is 1/2...
presque 7 ans il y a | 1 réponse | 0
1
réponseQuestion
Calling a function with vector as input
I have a function: function [U] = FE (nelx, nely, o) As nelx=4, nely=4 and o=2 I could simply call it by writing FE(4,4,2). ...
presque 7 ans il y a | 1 réponse | 0