Statistiques
RANG
19 012
of 297 016
RÉPUTATION
2
CONTRIBUTIONS
33 Questions
3 Réponses
ACCEPTATION DE VOS RÉPONSES
48.48%
VOTES REÇUS
2
RANG
of 20 419
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 157 725
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
Bar charts with different colors
% Dear users, when I run the code I want to get bars in different colors (not one color). Could you please tell me how to do it?...
environ 5 ans il y a | 2 réponses | 0
2
réponsesExporting data from matlab to a excel with a special pathway
% When I run the code below, it creates Admittance.xlsx at the location I want, no problem. % The problem is that I have to ad...
plus de 5 ans il y a | 0
Question
Exporting data from matlab to a excel with a special pathway
Dear Users! Imagine that I have the matrices of Y1=rand(5), Y2=rand(7) and Y3=rand(4). I want to specifically export these matri...
plus de 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
Creating a matrix having repeating elements
% Dear users, % Assume that I have a A matrix having the size of 5x5 and in the end; % I want to get A=[1 -1 0 0 0; 1 -1 0 0 0...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Calculation of unknown values of two equations without Symbolic Math toolbox
% Dear users! I have two-simple equations as below: % C1+C2=29; % -3*C1-2*C2=-70; % Unfortunately, I don't have Symbolic Math...
plus de 5 ans il y a | 1 réponse | 0
1
réponseCombining sub-matrices diagonally within a for loop
I actually tried the combination of submats = arrayfun(@(n) rad(1:n)*h(1:n),n,'unif',0) but it didn't work.
plus de 5 ans il y a | 0
Question
Combination of sub-matrices generated within a for loop
clear; clc; close all; n=[3 1 2]; rad=[0.04 0.02 0.01]; h=[10 12 15]; for kk=1:length(n) matrix=zeros(n(kk),n(kk)...
plus de 5 ans il y a | 1 réponse | 0
1
réponseQuestion
Combining sub-matrices diagonally within a for loop
clear all; clc; close all; n=[3 1 2]; for kk=1:length(n) matrix=zeros(n(kk),n(kk)); for ii=1:n(kk) for jj...
plus de 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
A simple matrix question
%Dear users, %Imagine that I have a matrix of A=[1,2,3,4,5] %Is there any short-cut to get the matrix of B=[5,4,3,2,1]? %Than...
plus de 5 ans il y a | 4 réponses | 0
4
réponsesQuestion
Sub-Matrices in a bigger matrix
Dear Users, Imagine that I have 4 square matrices such as A11, B11, C11 and D22. I want to insert them as diagonal elements of...
plus de 5 ans il y a | 2 réponses | 1
2
réponsesQuestion
The usage of [~,I]=min(abs(A+B)) on a specific example
% Dear Users, % I have a curve whose axes are defined as below: u=[1.01 1.02 1.03 1.11 1.13 1.04 0.84 0.86 0.97 0.97]; % y-axi...
presque 6 ans il y a | 1 réponse | 0
1
réponseQuestion
Finding the time duration of an oscillation on a graph
% Dear Users, % I have an oscillating voltage curve depending on time (please see the document on the attachments) % t_clear= ...
presque 6 ans il y a | 1 réponse | 0
0
réponseQuestion
Calculating an area under a curve
% Dear users, % Is there any way to calculate an area under a curve as in the figure? % It would really appreciate if you can ...
presque 6 ans il y a | 1 réponse | 0
0
réponseQuestion
Right and Left Eigenvectors
Dear Users, What I read about right and left eigenvectors from some literature is that right ones should be column and left o...
plus de 6 ans il y a | 2 réponses | 1
2
réponsesQuestion
how can I sort the arrays according to example I explained below?
% Dear users, could you help me with sorthing the arrays I explain below: % Let's say I have 3 equations: % a+3b+5c+2d+4...
plus de 8 ans il y a | 3 réponses | 0
3
réponsesQuestion
Finding variables using a simple optimization (maybe linear programming)
% Dear Users, % I have three equatians as below: A = x(1)s(11)+x(2)s(12)...+x(n)x(1n) B = x(1)s(21)+x(2)s(22)...+x(n)...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Handling with different constraints/limitations at the same time
clear all clc % Dear Users! % What I want to do is % 1. As long as the rows of A, B and matrices are > 0 at the sa...
environ 9 ans il y a | 1 réponse | 0
0
réponseQuestion
How to make a matrix upside down?
% Dear Users, % I have such an matrix below: A= [1;4;5;7]; % I want to make it upside down: B= [7;5;4;1]; % Is ...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
to sort a matrix
% Dear user! % I have A and B matrices as below A=[1;2;3;4;5]; B=[12;14;18;16;10]; C=[A B]; % I want to create ...
environ 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How to implement the counter (really simple)?
% Dear Users, % My problem and simple script are as below: clear all clc nrow=5; ncolumn=3; maxinfeas=1;...
plus de 9 ans il y a | 2 réponses | 0
2
réponsesQuestion
How can I find intersections of curves?
clear all clc Reactive_QCP1=[6.708;6.396;6.0911;5.791;5.498;5.210;4.926;4.647;4.371]; Reactive_QCP2= [1...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
How can I create a sub-matrix if the number of rows change according to main-matrix?
% I have 9x1 sized A matrix as below: A=[2.36; 2.36; 2.36; 1.93; 1.93; 1.41; 1.41; 1.41; 0.39] % from 3rd row to 4th row...
presque 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
how to change a variable?
clear all clc nrow=5; ncolumn=3; A=[12 28 35;42 14 30;16 25 13;21 34 12;32 18 26]; B=[14 26 18;17 41 32;19 23 3...
presque 10 ans il y a | 1 réponse | 0
1
réponseQuestion
while loop/breaking a loop
Dear Users, clear all clc nparticle=15; nclass=3; maxlimit=10; minlimit=50; value=zeros(nparticle,nc...
presque 10 ans il y a | 1 réponse | 0
0
réponsehow possible to terminate a loop in case my condition is not met?
I think I should use "while true" and "break" comments in somewhere. The problem is that I can only check the elements in a row ...
presque 10 ans il y a | 0
Question
how possible to terminate a loop in case my condition is not met?
Below I pasted a part of my code. it is a sort of simulation program. Loading_B matrix created in the end is (nparticle x nge...
presque 10 ans il y a | 2 réponses | 0
2
réponsesQuestion
How can I create a matrix out of a matrix?
Hello, % I have a matrix as below: A=[0 0 0;5 2 4;0 0 0;4 1 8;9 5 6;0 0 0] % My 2.,4. and 5. rows are different than '...
presque 10 ans il y a | 3 réponses | 0
3
réponsesQuestion
How can I resize the matrix?
Hello, Let's say I have the matrix as below: A= [0 0 0 0 0;0 0 0 0 0;2 3 9 1 7;4 5 6 5 4;0 0 0 0 0] (It can be in different ...
environ 10 ans il y a | 1 réponse | 0
1
réponseQuestion
selecting a random value within a specific interval
Hello, vmin=0.90; vmax=1.15; How can I select a random value between 0.90 and 1.15? Thx!
environ 10 ans il y a | 1 réponse | 0
1
réponseQuestion
Modifying the elements of a matrix using a condition
My matrix is Y=[1 2 5 0; 3 4 0 0; 7 0 3 0; 0 0 0 1] I want to replace zeros '0' with '0.001' How can I do it basically? ...
plus de 10 ans il y a | 1 réponse | 0