Raghav Singhal
Followers: 0 Following: 0
Feeds
已解决
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
3 years 前
已解决
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
3 years 前
已解决
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
3 years 前
已解决
Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...
3 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
5 years 前
已回答
Can someone provide me an idea of developing a mild hybrid vehicle model using simscape/simulink?
Hi, There doesn’t seem to be any specific examples for mild hybrid architectures, but you may find the following links helpfu...
Can someone provide me an idea of developing a mild hybrid vehicle model using simscape/simulink?
Hi, There doesn’t seem to be any specific examples for mild hybrid architectures, but you may find the following links helpfu...
5 years 前 | 0
已回答
DC motor model in Simscape is not working
Hi Alvaro, From the model you have shared, it can be seen that you have connected the “Ideal torque sensor” block in parallel...
DC motor model in Simscape is not working
Hi Alvaro, From the model you have shared, it can be seen that you have connected the “Ideal torque sensor” block in parallel...
5 years 前 | 0
已回答
Waterfall plot of an integral
Hi, the expression 'f' you have defined is of type double, ie it has no variables and hence integrating such an expression woul...
Waterfall plot of an integral
Hi, the expression 'f' you have defined is of type double, ie it has no variables and hence integrating such an expression woul...
5 years 前 | 0
已回答
Another Bug in Matlab 2018b: iLaplace cannot compute a valid system
In the last line of your code, when you try to convert the data into type “double”, it returns an error because you are trying t...
Another Bug in Matlab 2018b: iLaplace cannot compute a valid system
In the last line of your code, when you try to convert the data into type “double”, it returns an error because you are trying t...
6 years 前 | 0
已回答
Why can I not change the architecture of my subsystem to Black Box?
Please see this documentation page for details on generating a black box interface: https://www.mathworks.com/help/hdlcoder/u...
Why can I not change the architecture of my subsystem to Black Box?
Please see this documentation page for details on generating a black box interface: https://www.mathworks.com/help/hdlcoder/u...
6 years 前 | 0
已回答
Plotting latitude, longitude and array with a shapefile outline
Hi, You can plot the map outline over your data by using ‘geoshow’ function and setting the 'FaceColor' field to 'none'. If the...
Plotting latitude, longitude and array with a shapefile outline
Hi, You can plot the map outline over your data by using ‘geoshow’ function and setting the 'FaceColor' field to 'none'. If the...
6 years 前 | 1
| 已接受
已回答
0 degree isotherm height from Coordinates of the grid points Latitude/Longitudes
You can try data interpolation instead of averaging out the adjacent data points as it would give you a more accurate estimate. ...
0 degree isotherm height from Coordinates of the grid points Latitude/Longitudes
You can try data interpolation instead of averaging out the adjacent data points as it would give you a more accurate estimate. ...
6 years 前 | 0
已回答
i have a matrix A(25357*2), i want to delete rows as i explained below. any help?
Hi, You can try using logical vectors if it helps resolve your query. You can refer to the documentation link below for more d...
i have a matrix A(25357*2), i want to delete rows as i explained below. any help?
Hi, You can try using logical vectors if it helps resolve your query. You can refer to the documentation link below for more d...
6 years 前 | 0
已回答
Why do I get this error 'Code generation does not support changing types through assignment' in Stateflow?
I believe you currently have the default datatype for the local variable you’ve assigned is set to double, whereas it should hav...
Why do I get this error 'Code generation does not support changing types through assignment' in Stateflow?
I believe you currently have the default datatype for the local variable you’ve assigned is set to double, whereas it should hav...
6 years 前 | 0