![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/5131429_1537344908249.jpg)
Akbar
Followers: 0 Following: 0
Estadística
22 Preguntas
11 Respuestas
0 Problemas
18 Soluciones
CLASIFICACIÓN
1.690
of 297.016
REPUTACIÓN
40
CONTRIBUCIONES
22 Preguntas
11 Respuestas
ACEPTACIÓN DE RESPUESTAS
81.82%
VOTOS RECIBIDOS
5
CLASIFICACIÓN
of 20.419
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
24.504
of 157.725
CONTRIBUCIONES
0 Problemas
18 Soluciones
PUNTUACIÓN
200
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
Pregunta
How to create the same png icon but with a different color?
Here is a .png of a button icon. I need exactly the same icon, with the same style but a green color. How can I achieve that?...
casi 6 años hace | 2 respuestas | 0
2
respuestasStep response due to input changes
Maybe try in Simulink, using the Signal builder block you can create Input as you want. <</matlabcentral/answers/uploaded_fil...
más de 6 años hace | 0
find_system(Search_Path,'SearchDepth',1,'BlockType','Inport'); what does this function do? specially what is search depth and value 1?
It is used to get paths to particular blocks in simulink model. In this case, your command will search for all blocks of type "I...
más de 6 años hace | 0
Pregunta
Need help with symbolic variables (if else statement)
if a > 10^-8 switch1 = b; else switch1 = 0; end i get the following error: Conversion to logical ...
más de 6 años hace | 2 respuestas | 0
2
respuestasPregunta
Stuck with symbolic variables
How to correctly assign symbolic values to the selected elements of an Array? syms a b c x = [a;b]; c([1 2]) = x; ...
más de 6 años hace | 1 respuesta | 0
1
respuestaCould anyone help me how to type different symbols for the legend in the graph
LS = {'-v','-^',':','-.','-o','-','-+','-*','x','-square','--+'}; plot(1:10,ones(1,10),'-<','color','black') hold on ...
más de 6 años hace | 0
Pregunta
How to get the order indices in a character array?
Here is my cell Array, consider it as an input: ans = 7×1 cell array {'x_air' } {'v_air' ...
más de 6 años hace | 3 respuestas | 0
3
respuestasPregunta
How to make ode15s not to cross zero?
Here is the solution to a differential equation by simulink(ode15s, orange) and matlab(ode15s, blue). The solution mustn't cros...
más de 6 años hace | 2 respuestas | 0
2
respuestasPregunta
I'm stuck with this proplem. Variable used before it's defined.
I have a differential equation(ODE) represented as a directed graph. The ODE is not known, only its graph representation is gi...
más de 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Variable might be used before it's defined. How to workaround?
I am writing a matlab script. Code analyzer underlines one of the variables in red and says that, Variable might be used befor...
más de 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Represent the 'Selector' block in simulink as matlab code?
How to represent the 'Selector' block in simulink as a matlab code? For ex.: 'Sum' block could be coded like 'out = in1 + in...
más de 6 años hace | 1 respuesta | 0
1
respuestaformula behind nlinfit function
<https://www.mathworks.com/help/releases/R2017b/stats/nlinfit.html?s_tid=doc_ta#btl_944-7 Read section 'more about'> And there...
más de 6 años hace | 0
Pregunta
How to print cell contents into m-file?
I Need to Combine These two variables and print in m-file. |inputs| and |signs| length may vary. |signs| can only contain multip...
más de 6 años hace | 2 respuestas | 0
2
respuestasPregunta
How to write cell array contents into m-file as shown below?
I have a cell Array vector as attached (length may vary). It contains variable names. mycell = 5×1 cell array {'x' ...
más de 6 años hace | 1 respuesta | 0
1
respuestaPregunta
How to create a variable from cell array contents?
I have a cell Array vector as attached (length may vary). It contains variable names. mycell = 5×1 cell array {'x' ...
más de 6 años hace | 1 respuesta | 0
1
respuestaPregunta
Why there is no space after the equal sign? (fprintf)
fprintf('%s \n',strcat('s',' = ','1000',';')); Output: s =1000; Desired: s = 1000;
más de 6 años hace | 2 respuestas | 0
2
respuestasPregunta
Why the first cell is printed in one row and second in two? (fprintf)
Why the first cell is printed in one row and second in two? I want the second cell to be printed in one row, same as first. ...
más de 6 años hace | 1 respuesta | 0
1
respuestaPregunta
fprintf a long cell array vector into the file
I have |1x43| cell Array where each cell contains string (variable name), size can vary but it's always a vector. So in this c...
más de 6 años hace | 1 respuesta | 0
1
respuestaI have a text file having 7 columns. First column is UTC time in hours. This file is having data for almost 1 month. i need to separate data day wise and save it to different day . whenever first column value is > than 0.00, a new day is starting
First I have imported your data to matlab using its 'import data' tool. And created a table called 'anci'. Whose size is |5003x7...
más de 6 años hace | 0
| aceptada
hi can you teach me how to plot teh below response with simulink
You can use the "signal builder" block which is found in "sources" of simulink library. Just double click on it and start creati...
más de 6 años hace | 0
| aceptada
How to plot a heat map with three vectors?
I have made some modifications. The heatmap below Shows highest temp. each hour of a month, for two years. <</matlabcentral...
más de 6 años hace | 1
| aceptada
matlab code for histogram
<</matlabcentral/answers/uploaded_files/119543/untitled.png>> A=[0.1;0.3;0.5;0.6;0.2]; B=[0.8;0.6;0.9;0.4;0.7]...
más de 6 años hace | 0
| aceptada
Pregunta
Preallocate a variable of unknown size
Please help to preallocate the variable "D". Its size is unknown. clc; D = {}; Di = []; r = 1; N = length(nodes...
más de 6 años hace | 1 respuesta | 0
1
respuestaHow do I repeat a for loop for all columns?
Try this. You should use two arguments (i,j) i=row number. j=column number. And one more "for" Loop, for the columns. n_ste...
casi 7 años hace | 0
| aceptada
Pregunta
fprintf cell array if its size changes
I want my cell Array to appear in matlab file. But the Array size may Change from time to time and I have to Change the number ...
casi 7 años hace | 1 respuesta | 0
1
respuestahow to form branch to node incidence matrix by using tree
G = digraph([1 2 2 2 3 4], [4 1 3 4 1 3]); G.Nodes.Name = {'a' 'b' 'c' 'd'}'; h = plot(G); labelText = {'6' '3' '2' '...
casi 7 años hace | 1
| aceptada
What does the step response plot in PID tuner indicate ?
"Reference tracking" is when the Controller Parameters are tuned to follow the reference. And there is another Approach too: "Di...
casi 7 años hace | 1
| aceptada
Pregunta
How to generate function handle automatically from the cell array?
I have a 2x1 cell called "dx", which contains 1x3 cells: 'X * k * m' '*' '-1' 'X * k * m' '*' 'Y_XS' I want this "d...
casi 7 años hace | 1 respuesta | 0
1
respuestaPregunta
Performance Problem in Simulink (why is it slower than matlab?)
I have compared Solutions to the same ODE in matlab and simulink. Simulink took 7.6 sec. while ode15s in matlab took 1.4 sec. to...
casi 7 años hace | 1 respuesta | 0
1
respuestaPregunta
Finding peak from plot of data points
I want to find the peaks (max. points) in each plot (two plots) inside a figure i attached then find the difference in time (x-a...
casi 11 años hace | 1 respuesta | 0