hosein Javan
Followers: 0 Following: 0
Estadística
9 Preguntas
59 Respuestas
0 Problemas
10 Soluciones
CLASIFICACIÓN
474
of 293.982
REPUTACIÓN
162
CONTRIBUCIONES
9 Preguntas
59 Respuestas
ACEPTACIÓN DE RESPUESTAS
44.44%
VOTOS RECIBIDOS
13
CLASIFICACIÓN
of 20.065
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
34.930
of 150.317
CONTRIBUCIONES
0 Problemas
10 Soluciones
PUNTUACIÓN
110
NÚMERO DE INSIGNIAS
1
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Modify value of DC voltage source during a simulation
use "controlled voltage source" instead of DC voltage source. connect your look up table to it and it will do it.
alrededor de 4 años hace | 1
Solving differential equation in simulink
hello again. this should look like this: by clicking on "Tune" an app opens and tries to first linearize the system and the...
alrededor de 4 años hace | 0
| aceptada
Find the value x
you can rewrite the equation in the form of "x^(1/x) = exp(1/exp(1))". this means that if "f(z)=z^(1/z)" then we have "f(x) = f(...
alrededor de 4 años hace | 2
Pregunta
my differential equation general solution form requires very high or low values, exceeding double precision capability, while I know its solution is finite
as a brief explanation, I'm trying to solve a first order bessel equation which is part of a more complicated PDE problem, whose...
alrededor de 4 años hace | 0 respuestas | 0
0
respuestasPregunta
fastest way to apply A\B on each matrix page
I would like to find an efficient fast way for calculating: for i = 1:n X(:,:,i) = A(:,:,i)\B(:,:,i) end where A and B are 1...
alrededor de 4 años hace | 1 respuesta | 0
1
respuestanegative continuous position on vector
how about: k = find(logical(A)); n = length(A); B = 1-k:n-k A = 0 0 0 0 1 0 0 0 B = ...
alrededor de 4 años hace | 1
Simulink Electrical Op Amps
your method is correct. this image shows a model that has been tested. what is the problem exactly? any error?
alrededor de 4 años hace | 0
Pregunta
how to make symbolic computations fast?
hello, I'm working on some calculation that requires great precision at very large or small values. as I have searched the only...
alrededor de 4 años hace | 2 respuestas | 0
2
respuestasLoading a cell array (string) with different lengths into a for loop
you don't even have to concatenate them to one "control" cell array. I suggest create an array called folder where each element ...
alrededor de 4 años hace | 0
| aceptada
index multiple columns together on different critera
A= [0.09 0.48 0.5 0.1 0.04 0.3]; idx1 = A(:,1)<0.2 ; idx2 = A(:,2)>0.2; B(:,1) = A(idx1,1); B(:,2) = A(...
alrededor de 4 años hace | 0
I am not able to integrate heaviside(y-f) for x= 0 to pi/2 and y = 0 to pi/2 (only syms integration "int"). After running the code, output is shown in below and i am not able to get the numerical answer. Can you give some ideas on how to proceed?
if you need numerical integration, some functions cannot be easily evaluated by symbolic. instead use "integral". in here we hav...
alrededor de 4 años hace | 1
Concatenate x amount of matrices
after a few (or maybe a lot!) thinking, I found the pattern. I used symbolic to specify each element by its name rather than val...
alrededor de 4 años hace | 0
How to extract RGB matrices from stacked TIFF file?
not sure. % A = your matrix after reading the image file im = cell(1,n); for i = 1:N im{i} = A(:,:,:,i) % im{i} = indivi...
alrededor de 4 años hace | 0
A function that outputs multiple plots?
function plotoutput() x = 1:10; y = x.*x; plot(x,y) when you call the function, it shows a figure.
alrededor de 4 años hace | 0
| aceptada
How to create a loop on matrix
for example suppose we want to multiply each column by its coulmn number: A =[ 92 99 1 8 15 67 74 5...
alrededor de 4 años hace | 0
| aceptada
Logarithmic scale with a different base
add the following after plot ax = gca; % current axe ax.XTick = 6:14;
alrededor de 4 años hace | 0
how can i vary the frequency of the signal
A=240; d=6; x=0:1e-4:1; s=x.^3; a=-(s.*d); minfreq = 10; % minimum frequency(Hz) maxfreq = 200; % maximum frequency(Hz...
alrededor de 4 años hace | 0
| aceptada
sum some values of a column based on an other column
% A is the matrix sized: 8784*2 idx1 = A(:,1)==1; idx2 = A(:,1)==2; idx3 = A(:,1)==3; data = A(:,2); sum(data(idx1)) % ...
alrededor de 4 años hace | 1
| aceptada
How do you set the first column of a 4x4 matrix = a vector
X = [380 250 220 200] C=[1257 679 220 203 1567 155 234 432 2345 445 238 556]; C(1,:)=X; % set the first row of C equ...
alrededor de 4 años hace | 0
| aceptada
no plot appearing for loop
"f" was scalar rather than vector. some constants needed to be defined outside of the loop. and the iteration-depandant variable...
alrededor de 4 años hace | 0
How to add a noise in my Input graph?
this code gives a zero mean noise with a sampling rate equal to your signal. just calculate it's amplitude by knowing variance. ...
alrededor de 4 años hace | 0
| aceptada
Simulink animation for BLDC motors
I didn't see anything about animate in that video. however I propose after running the simulation, save your data including time...
alrededor de 4 años hace | 1
| aceptada
Computing voltage and current amplitude and average power
if they are 3-phase, use clarke transformation. it will give you the amplitude and phase the dividing by sqrt(2) yield the rms v...
alrededor de 4 años hace | 0
| aceptada
Invalid setting for input port dimensions of 'without_statcom/Asynchronous Machine pu Units/Measurements/Demux1'. The dimensions are being set to [-1]. This is not valid because the total number of input and output elements are not the same
hello. you need to set number of elments in Demux1 correctly. when you run simulation look at the input signal it says for examp...
alrededor de 4 años hace | 0
plot error variables not same length
try this if could resolve the problem. I have selected those elemnts of "y_fft" corresponding to "f" vector. plot(f, y_fft(1:le...
alrededor de 4 años hace | 0
| aceptada
i have a syntax error in u(3)-u(4)(exp((u(2)u(1)+u(6))))/(u(5))-1) what the error ?
you didn't have product sign"*". also there were bunch of incorrect parantheis. copy and paste should work. u(3)-u(4)*(exp(u(2)...
alrededor de 4 años hace | 0
Image processing: transition between two halves of an image
you must define the dim factor in a way that is 1.between 0 and 1, 2. it has smooth transition. for example here in order t...
alrededor de 4 años hace | 0
| aceptada
vectors problem, como podria unir los vectores
hola, es esto lo que esperas? A = [1 0 0 0 0 1 1 0 1 0 0 1 1 1 1 0 0 0 1 0 1 0 0]; B = [2 0 2 2 2 0 2 0 2 2 0 0 2 0 2 2 0 0 0 ...
alrededor de 4 años hace | 0
| aceptada
ASSISTANCE ON RUNNING RANDOM VARIABLES IN A FUNCTION
I assumed that "y" must not be a constant since you have dy/dt. therefore I made it an input for the function % define your con...
alrededor de 4 años hace | 0
| aceptada
Calculate mean of a matrix columnwise if a condition is met
A = [10 10 10;10 5 5;10 5 5] b = 10 C = b - A C(A>=b) = nan % replace all data out of specified range by nan mean(C,'omitnan...
alrededor de 4 años hace | 0
| aceptada