Community Profile

photo

Yamina chbak


Last seen: 2 mois il y a Actif depuis 2020

Statistiques

  • First Answer
  • Thankful Level 3
  • First Review

Afficher les badges

Content Feed

Afficher par

Question


Slider in Matlab code
MATLAB code is a basic interactive application for visualizing a stochastic process : close all clc % Initialize figure fi...

3 mois il y a | 1 réponse | 0

1

réponse

Question


How do I remove points which are far away from the boundary of domain?
Hi, I would like to know how do I remove points which are far away from the boundary of domain, for example % Before % Set...

environ un an il y a | 1 réponse | 0

1

réponse

Question


How to separate two matrices from a single matrice?
Hi, I would like to extract two matrix B and C from a matrix A to get A=B+C, where A=sparse(N,N) with N is a number. Since ind...

environ un an il y a | 1 réponse | 0

1

réponse

Question


Create a new matrix
Let A a matrix and B a vector defined by : A=[ 4 2 7 4 3 5 6 8 8 1]; B= [4 6 7 8]; I wish to know how t...

presque 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to take a data form text file to put it in another file?
Hi, I have a text file called File.1.node which contain such as: 45 12 7 1 ( first line ) 1 2 1 1 2 ...

environ 2 ans il y a | 2 réponses | 0

2

réponses

A répondu
Modifying a matrix such that each entry can be written in a block of four
a=[1 2 ; 3 4]; A=zeros(2*size(a)); A(1:2,1:2)=a(1); A(1:2,3:4)=a(3); A(3:4,1:2)=a(2); A(3:4,3:4)=a(4); A

plus de 2 ans il y a | 0

Question


Why didn't I find the same answer?
Hi, i try to calculate the math in 2 ways, but i couldn't find the same result, i don't why ?. Here is the problem % method 1 ...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to Set Plot Background Color
Hi, I would like to set the backgrourd color of my figures, for example i have and i want like that it's possible ?? tha...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


Which one is the correct one to calculate
I tried both of those instruction to calculate as : where and with are vectors ( zeros(15,1)) Both leads to different res...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

Question


How to change the previous result ?
Hi, I want to compute the solution : for n=2,... where . With the initial solution . For example : if n=2, then if n...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to exit from loop function ?
Hi, I need to exit from a loop,should i use break ? here is an example : for j=1:10 if (condition 1) a=5; % example...

presque 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to compute the sum term ?
Hi, I hope you can help me in this problem : Compute the sum term solution : which . I don't need % I have two solution...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How do I generate code Matlab to make my work easier
Hi, I hope you can help me for in this matter i have a code to solve a problem and i want to change a value t and record the v...

environ 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to make a serie ?
Hi, i need to write a sum of serie : with b_k= (k+1)^2-(k)^2 and u^(m-k) is the numerical solution approximation u(x,t_m-...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to calcul equation using function Matlab
Hi, I try to write a function for calcul eqution u(x,y t)=exp(-t)*sin(pi*x/L)*sin(pi*y/L) on domaine L-shaped function z=U(x...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


problem with plotting a 1D graph
Hi, I have solved a 2D time problem U(x,y,t), 0<=x,y<=L and 0<=t<=T, by FEM and i get trisurf(TRI,x,y,U(:,N)) % N numbe...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


how to write a function with loop for and if-statement ?
Hi, I need to write a function U like this : if x=0 then U(0,y)=0 if y=0 then U(x,0)=0 ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


how to create a table in Matlab ?
I have Error L1,L2 and Linf between exacte solution and numerique solution of PDE for differents alpha and dt values in Matlab...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


How can i use If ... else loop inside function ?
Hi, i have a problem says : Output argument ( and maybe others) not assigned during call to " g ". Here the function of g ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to edit matrice to another matrice?
% how to edit matrice A to matrice B with % A=[1 a b c % 2 d e f % 3 g h i]; % % % B=[ 1 a b 0 % 2 b c 0 % ...

environ 4 ans il y a | 1 réponse | 0

1

réponse