Krishna Zanwar
自 2019 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
How can I build simulation target in r2017b?
Simulink builds a target model by default for more information you can check this.
How can I build simulation target in r2017b?
Simulink builds a target model by default for more information you can check this.
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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 ...
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 ...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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.
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.
5 years 前 | 0
已回答
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)...
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)...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 1
已回答
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...
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...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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 ...
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 ...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 1
| 已接受
已回答
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 ...
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 ...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 1