photo

Krishna Zanwar


Con actividad desde 2019

Followers: 0   Following: 0

Estadística

All
  • Solver
  • Knowledgeable Level 2
  • First Answer

Ver insignias

Feeds

Ver por

Respondida
How can I build simulation target in r2017b?
Simulink builds a target model by default for more information you can check this.

más de 5 años hace | 0

Respondida
Using textscan with lines of different length
You can get the line as an input using the function fgetl, it will take all the values in a line regardless of the datatypes and...

más de 5 años hace | 0

| aceptada

Respondida
Reading multiple NetCDF files in a Loop with multiple variables
If you want to overwrite graphs of other months over this one you can use hold on. If you want to divide the figure in differen...

más de 5 años hace | 0

Respondida
Selecting a specific answer
You can use the function any to find out if any of the variables is equal to any other variable. any(a==[b c d]) will gave a ...

más de 5 años hace | 0

Respondida
s function builder source generation location
Hey Joshua, You can cd to another directory and then use the s function builder so all the files are created there and then cop...

más de 5 años hace | 0

Respondida
Extracting matrix and making 2D plot
You can change the limits by replacing latlim=[min(latmat(:)) max(latmat(:))] lonlim=[min(lonmat(:)) max(lonmat(:))] by lon...

más de 5 años hace | 0

| aceptada

Respondida
Index exceeds the number of array elements (1).
In the code above 'b' and 'c' are scalars and cannot be indexed. If you want to get an array of 'b' and 'c' as 'u' is increasing...

más de 5 años hace | 0

Respondida
Is it possible to promote in one go the mask of a subsystem to the mask of the subsystem that encapsulates it?
You can copy the mask from one block to another using this. You can use the same for subsystems.

más de 5 años hace | 0

Respondida
How do I change the amount of noise I want to add to a signal?
One method to do it is: >> noise = randi([-10,10]*10^n,[20,1])/10^n >> for i=1:size(noise) >> if noise(i)>9 >> b(i)...

más de 5 años hace | 0

Respondida
codegeneration array out of bounds check
Hey Bernhard, Simulink does not support checking out of bound array possibility during code generation. You can run Simulnk De...

más de 5 años hace | 0

| aceptada

Respondida
Creating table of toggle buttons
Hey Luis, A single function can be used for callback of all the toggle buttons. The button which was pressed can be recognize...

más de 5 años hace | 0

Respondida
Adding a marker to Data Marker to Heatmap (via imagesc)
Hey Jason, The second subplot command is creating another plot over the top of your original plot. Just remove the second subpl...

más de 5 años hace | 0

Respondida
Using parametric equations in terms of theta1 and theta2 to plot a point A for a range of angles
Hey Raphael, Since Matlab does direct calculations of Vectors you dont need a for loop for this problem. theta1=20:0.5:80; th...

más de 5 años hace | 1

Respondida
How do i implement moving average for prediction?
Hey Ali, It seems like in the Excel sheet the moving mean of ‘Actual’ is printed in ‘Forecast’. In Matlab ‘Forecast’ is used a...

más de 5 años hace | 0

| aceptada

Respondida
how to cobine different text files with different contents ?
Hey Shabnam, You can get the line as an input using the function fgetl, it will take all the values in a line regardless of the...

más de 5 años hace | 0

Respondida
Calling a opening function in a programmatic GUI
Hi, The error in this code is caused in the function calc_button_callback as the variables a, b, c are not initiated. I am not ...

más de 5 años hace | 0

Respondida
Using parametric equations in terms of theta1 and theta2 to plot a point A for a range of angles
Hey Raphael, In this case you have defined a function but not called it in your script and so you are getting an error while pr...

más de 5 años hace | 1

| aceptada

Respondida
How can i make an average plot of 2 unequal data sets?
Hey Aditya, This problem can be solved by 1D interpolation, Let the X axis limits be 'Xmin', 'Xmax'. And the data of X and Y ...

más de 5 años hace | 0

| aceptada

Respondida
Counting pixels in echocardiogram image
Hey Zo, I am not clear on what your objective is. If you want to find the RGB values of pixels in the image then you can find...

más de 5 años hace | 0

| aceptada

Respondida
ODE45 along with sym function
Hey Shubham, You can find the available functions to solve differential equations in this link: And the functions to solve a...

más de 5 años hace | 0

Respondida
combine numbers and symbols in print to txt file
Hi Peter, Use the File Id of your text file instead of <fileId> a = "%d "; b=char(176); c=" %f'N %d"; d=" %f'E \n"; format...

más de 5 años hace | 0

Respondida
How can you generate a C code with embedded coder from a simulink model with a cycle time/period (sample time) shorter than 1 ms?
The "base rate smaller than 1 ms" error message appears when the code generation target is set to GRT (Generic Real-Time) or ERT...

más de 5 años hace | 1