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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
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년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
5년 초과 전
문제를 풀었습니다
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년 초과 전
답변 있음
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년 초과 전 | 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년 초과 전 | 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년 초과 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 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년 전 | 0